Recent snippets

Popular snippets

  • Adapter pattern

    Invoke the methods from incompatible types

    110 people like this

    Posted: 14 years ago by Tao Liu

  • 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.

    69 people like this

    Posted: 15 years ago by Phillip Trelford

  • A beautiful fixed-point finding function

    We start with an initial value and then applying f repeatedly, until the value does not change anymore.

    303 people like this

    Posted: 15 years ago by Nick Palladinos

Snippets by tags

silverlight (22) wpf (20) computation builder (17) sequences (48) reflection (19) monad (24) sequence (32) lazy (20) fold (22) http (18) generic programming (17) design patterns (18) computation expression (15) recursion (33) parsing (28) web (29) async (98) seq (54) regex (17) pattern matching (15)

View all...

Database contains 3208 snippets out of which 1719 is public.