Recent snippets

Popular snippets

  • 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

  • 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

learning f# (16) dsl (23) mailboxprocessor (27) tryfsharp (48) string (29) lists (15) math (35) f# (43) kata (17) design patterns (18) parsing (28) fold (22) async (98) algorithms (26) wpf (20) agent (20) silverlight (22) collections (16) sequence (32) seq (54)

View all...

Database contains 3200 snippets out of which 1714 is public.