Recent snippets

Popular snippets

  • Read only ref

    F# implementation of RO_ref from the "Effective ML" talk.

    92 people like this

    Posted: 14 years ago by fholm

  • 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

  • Split a list

    Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.

    83 people like this

    Posted: 14 years ago by Dmitri Pavlenkov

Snippets by tags

kata (17) http (18) staging (18) mailboxprocessor (27) web (29) tutorial (17) json (16) html (16) pattern matching (15) reflection (19) list (56) wpf (20) f# (43) design patterns (18) silverlight (22) sequences (48) lazy (20) fold (22) quotations (21) tryfsharp (48)

View all...

Database contains 3206 snippets out of which 1719 is public.