Recent snippets

Popular snippets

  • 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

  • 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

  • Creating objects with events

    This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.

    85 people like this

    Posted: 15 years ago by Tomas Petricek

Snippets by tags

kata (17) web (29) mailboxprocessor (27) wpf (20) string (29) http (18) collections (16) monad (24) learning f# (16) tutorial (17) math (35) seq (54) async (98) tryfsharp (48) recursion (33) sequence (32) game (32) algorithms (25) agent (20) staging (18)

View all...

Database contains 3212 snippets out of which 1719 is public.