Recent snippets

Popular snippets

  • Chain of responsibility II

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

    104 people like this

    Posted: 14 years ago by Tao Liu

  • Struct Tuple

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

    77 people like this

    Posted: 14 years ago by fholm

  • 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

Snippets by tags

collections (16) sequence (32) tryfsharp (48) silverlight (22) seq (54) list (56) pattern matching (15) lists (15) staging (18) game (32) math (35) quotations (21) sequences (48) computation builder (17) web (29) dsl (23) fold (22) design patterns (18) f# (43) algorithms (26)

View all...

Database contains 3207 snippets out of which 1719 is public.