Recent snippets

Popular snippets

  • Association list lookup

    While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.

    68 people like this

    Posted: 15 years ago by Alex Muscar

  • 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

  • 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.

    185 people like this

    Posted: 15 years ago by Tomas Petricek

Snippets by tags

algorithms (26) kata (17) tryfsharp (48) html (16) tutorial (17) http (18) collections (16) f# (43) silverlight (22) list (56) quotations (21) pattern matching (15) wpf (20) seq (54) math (35) dsl (23) regex (17) computation expression (15) async (98) array (22)

View all...

Database contains 3207 snippets out of which 1719 is public.