Recent snippets

Popular snippets

  • Units of Measure

    Show's how to define units of measure to add stronger typing to your numerical functions.

    75 people like this

    Posted: 14 years ago by Robert Pickering

  • Continuation-Passing Mnemonics

    Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.

    100 people like this

    Posted: 14 years ago by Neil Carrier

  • 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: 14 years ago by Tomas Petricek

Snippets by tags

http (18) learning f# (16) mailboxprocessor (27) async (98) pattern matching (15) reflection (19) monad (24) sequences (48) tryfsharp (48) tutorial (17) sequence (32) agent (20) seq (54) string (29) silverlight (22) game (32) computation expression (15) parsing (28) regex (17) design patterns (18)

View all...

Database contains 3205 snippets out of which 1719 is public.