Recent snippets

Popular snippets

  • Pipeline list processing

    An example showing how to process list in a pipeline. We first use List.filter to return only even numbers and then use List.map to format them as strings.

    88 people like this

    Posted: 7 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.

    361 people like this

    Posted: 7 years ago by Blake Coverett

  • 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.

    65 people like this

    Posted: 7 years ago by Tomas Petricek

Snippets by tags

tutorial (17) recursion (27) list (50) fold (19) silverlight (21) parsing (22) monad (21) regex (14) math (32) f# (42) dsl (22) string (22) wpf (19) array (20) http (15) kata (17) algorithms (25) computation builder (14) json (14) sequence (30)

View all...

Database contains 2258 snippets out of which 1540 is public.