Recent snippets

Popular snippets

  • 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

  • Filtering lists

    Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.

    77 people like this

    Posted: 15 years ago by Tomas Petricek

  • Read only ref

    F# implementation of RO_ref from the "Effective ML" talk.

    93 people like this

    Posted: 15 years ago by fholm

Snippets by tags

learning f# (16) json (16) web (29) collections (16) design patterns (18) lists (15) async (98) staging (18) array (22) tutorial (17) seq (54) computation expression (15) silverlight (22) algorithms (25) html (16) sequences (48) f# (43) list (56) tryfsharp (48) computation builder (17)

View all...

Database contains 3208 snippets out of which 1719 is public.