Recent snippets

Popular snippets

  • Chain of responsibility II

    Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.

    105 people like this

    Posted: 14 years ago by Tao Liu

  • 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

fold (22) parsing (28) html (16) tryfsharp (48) agent (20) algorithms (25) regex (17) collections (16) design patterns (18) wpf (20) reflection (19) f# (43) silverlight (22) dsl (23) pattern matching (15) json (16) lists (15) async (98) computation builder (17) generic programming (17)

View all...

Database contains 3208 snippets out of which 1719 is public.