Recent snippets

Popular snippets

  • Composing a list of functions

    Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]

    87 people like this

    Posted: 15 years ago by Novox

  • NUnit Sugar

    Some simple functions for writing more idiomatic F# tests with NUnit.

    91 people like this

    Posted: 15 years ago by Ryan Riley

  • 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

Snippets by tags

async (98) regex (17) list (56) http (18) sequence (32) reflection (19) mailboxprocessor (27) math (35) html (16) agent (20) learning f# (16) array (22) game (32) staging (18) web (29) lazy (20) tutorial (17) silverlight (22) computation builder (17) seq (54)

View all...

Database contains 3207 snippets out of which 1719 is public.