Recent snippets

Popular snippets

  • NUnit Sugar

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

    91 people like this

    Posted: 15 years ago by Ryan Riley

  • 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

  • Struct Tuple

    Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.

    77 people like this

    Posted: 15 years ago by fholm

Snippets by tags

tryfsharp (48) regex (17) computation expression (15) reflection (19) collections (16) json (16) list (56) learning f# (16) generic programming (17) dsl (23) sequences (48) computation builder (17) html (16) mailboxprocessor (27) game (32) parsing (28) web (29) math (35) quotations (21) monad (24)

View all...

Database contains 3209 snippets out of which 1719 is public.