Recent snippets

Popular snippets

  • 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

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 15 years ago by Blake Coverett

  • Units of Measure

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

    75 people like this

    Posted: 15 years ago by Robert Pickering

Snippets by tags

json (16) list (56) wpf (20) collections (16) recursion (33) tryfsharp (48) fold (22) sequence (32) learning f# (16) quotations (21) algorithms (25) f# (43) mailboxprocessor (27) seq (54) dsl (23) web (29) pattern matching (15) staging (18) lists (15) computation builder (17)

View all...

Database contains 3208 snippets out of which 1719 is public.