Recent snippets

Popular snippets

  • NUnit Sugar

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

    91 people like this

    Posted: 14 years ago by Ryan Riley

  • Active pattern for let binding inside patterns

    The Let active pattern demonstrated by this snippet can be used to assign values to symbols in pattern matching. This is useful for writing complex pattern matching using match as we can handle multiple cases using a single clause.

    64 people like this

    Posted: 14 years ago by Tomas Petricek

  • 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

learning f# (16) math (35) f# (43) tryfsharp (48) agent (20) json (16) silverlight (22) lists (15) http (18) fold (22) dsl (23) lazy (20) regex (17) algorithms (26) game (32) generic programming (17) array (22) sequence (32) monad (24) design patterns (18)

View all...

Database contains 3206 snippets out of which 1719 is public.