Recent snippets

Popular snippets

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 14 years ago by Tao Liu

  • Hello world (F#)

    Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.

    186 people like this

    Posted: 15 years ago by Tomas Petricek

  • 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

Snippets by tags

array (22) list (56) monad (24) wpf (20) lazy (20) algorithms (25) lists (15) tryfsharp (48) computation builder (17) string (29) parsing (28) seq (54) regex (17) game (32) computation expression (15) f# (43) design patterns (18) http (18) json (16) reflection (19)

View all...

Database contains 3208 snippets out of which 1719 is public.