Recent snippets

Popular snippets

  • Units of Measure

    Show's how to define units of measure to add stronger typing to your numerical functions.

    75 people like this

    Posted: 15 years ago by Robert Pickering

  • Association list lookup

    While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.

    68 people like this

    Posted: 15 years ago by Alex Muscar

  • 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

tryfsharp (48) json (16) collections (16) generic programming (17) computation expression (15) http (18) game (32) seq (54) kata (17) math (35) lists (15) string (29) lazy (20) pattern matching (15) staging (18) parsing (28) silverlight (22) fold (22) html (16) mailboxprocessor (27)

View all...

Database contains 3208 snippets out of which 1719 is public.