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

  • Projecting lists

    Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.

    75 people like this

    Posted: 15 years ago by Tomas Petricek

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 15 years ago by Blake Coverett

Snippets by tags

array (22) math (35) game (32) fold (22) json (16) design patterns (18) lists (15) list (56) parsing (28) f# (43) seq (54) agent (20) pattern matching (15) recursion (33) computation builder (17) tryfsharp (48) learning f# (16) quotations (21) lazy (20) collections (16)

View all...

Database contains 3208 snippets out of which 1719 is public.