Recent snippets

Popular snippets

  • 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

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 15 years ago by Blake Coverett

  • 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

kata (17) learning f# (16) quotations (21) dsl (23) string (29) tryfsharp (48) collections (16) fold (22) list (56) pattern matching (15) reflection (19) staging (18) regex (17) computation builder (17) game (32) tutorial (17) wpf (20) monad (24) async (98) generic programming (17)

View all...

Database contains 3209 snippets out of which 1719 is public.