Recent snippets

Popular snippets

  • Factory Pattern

    Factory pattern in F#

    82 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

  • 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

Snippets by tags

monad (24) design patterns (18) lists (15) math (35) array (22) agent (20) mailboxprocessor (27) tutorial (17) learning f# (16) json (16) list (56) async (98) tryfsharp (48) fold (22) sequence (32) computation builder (17) quotations (21) seq (54) string (29) lazy (20)

View all...

Database contains 3208 snippets out of which 1719 is public.