Recent snippets

Popular snippets

  • 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

  • Read only ref

    F# implementation of RO_ref from the "Effective ML" talk.

    93 people like this

    Posted: 15 years ago by fholm

Snippets by tags

sequences (48) tutorial (17) sequence (32) tryfsharp (48) collections (16) quotations (21) algorithms (25) learning f# (16) pattern matching (15) lazy (20) fold (22) agent (20) generic programming (17) web (29) async (98) html (16) wpf (20) array (22) staging (18) lists (15)

View all...

Database contains 3208 snippets out of which 1719 is public.