Recent snippets

Popular snippets

  • Strategy pattern

    Strategy pattern in F#

    83 people like this

    Posted: 14 years ago by Tao Liu

  • Hello world (F#)

    Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.

    186 people like this

    Posted: 15 years ago by Tomas Petricek

  • 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: 15 years ago by Neil Carrier

Snippets by tags

quotations (21) web (29) parsing (28) async (98) seq (54) staging (18) mailboxprocessor (27) f# (43) dsl (23) lazy (20) algorithms (25) silverlight (22) fold (22) monad (24) http (18) list (56) generic programming (17) array (22) wpf (20) collections (16)

View all...

Database contains 3208 snippets out of which 1719 is public.