Recent snippets

Popular snippets

  • Filtering lists

    Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.

    77 people like this

    Posted: 14 years ago by Tomas Petricek

  • 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

Snippets by tags

sequence (32) math (35) computation builder (17) reflection (19) collections (16) seq (54) computation expression (15) lazy (20) dsl (23) monad (24) silverlight (22) quotations (21) list (56) recursion (33) mailboxprocessor (27) string (29) staging (18) http (18) web (29) html (16)

View all...

Database contains 3206 snippets out of which 1719 is public.