Recent snippets

Popular snippets

  • Load XAML

    This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.

    109 people like this

    Posted: 15 years ago by Antonio Cisternino

  • ObservableObject

    The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.

    67 people like this

    Posted: 14 years ago by Phillip Trelford

  • Monadic Memoization

    Modular memoization within a pure functional setting that is implemented as a convenient computation builder.

    91 people like this

    Posted: 14 years ago by Nick Palladinos

Snippets by tags

design patterns (18) wpf (20) game (32) json (16) tryfsharp (48) agent (20) seq (54) pattern matching (15) async (98) silverlight (22) collections (16) tutorial (17) computation expression (15) monad (24) dsl (23) mailboxprocessor (27) lazy (20) learning f# (16) string (29) quotations (21)

View all...

Database contains 3208 snippets out of which 1719 is public.