Recent snippets

Popular snippets

  • Strategy pattern

    Strategy pattern in F#

    83 people like this

    Posted: 14 years ago by Tao Liu

  • 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

  • Asynchronous sequences

    An asynchronous sequence is similar to the seq type, but the elements of the sequence are generated asynchronously without blocking the caller as in Async. This snippet declares asynchronous sequence and uses it to compare two files in 1k blocks.

    109 people like this

    Posted: 14 years ago by Tomas Petricek

Snippets by tags

json (16) reflection (19) computation expression (15) recursion (33) http (18) array (22) game (32) collections (16) string (29) dsl (23) wpf (20) lazy (20) seq (54) lists (15) fold (22) kata (17) regex (17) tutorial (17) staging (18) list (56)

View all...

Database contains 3205 snippets out of which 1719 is public.