Recent snippets

Popular snippets

  • 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.

    84 people like this

    Posted: 14 years ago by Tomas Petricek

  • Units of Measure

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

    75 people like this

    Posted: 14 years ago by Robert Pickering

  • Asynchronous sequences

    An asynchronous sequence is similar to the seq type, but the elements of the sequence are generated asynchronously without blocking the caller as in Async. This snippet declares asynchronous sequence and uses it to compare two files in 1k blocks.

    109 people like this

    Posted: 14 years ago by Tomas Petricek

Snippets by tags

html (16) tutorial (17) reflection (19) list (56) seq (54) json (16) agent (20) dsl (23) learning f# (16) array (22) regex (17) string (29) design patterns (18) sequences (48) silverlight (22) f# (43) sequence (32) staging (18) collections (16) algorithms (26)

View all...

Database contains 3206 snippets out of which 1719 is public.