Recent snippets

Popular snippets

  • 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: 15 years ago by Tomas Petricek

  • Haskell function : iterate

    Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.

    203 people like this

    Posted: 15 years ago by Nick Palladinos

  • 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

mailboxprocessor (27) seq (54) lazy (20) lists (15) reflection (19) computation expression (15) collections (16) fold (22) kata (17) list (56) array (22) game (32) staging (18) sequences (48) regex (17) quotations (21) tryfsharp (48) pattern matching (15) tutorial (17) async (98)

View all...

Database contains 3208 snippets out of which 1719 is public.