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: 15 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

  • Split a list

    Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.

    83 people like this

    Posted: 14 years ago by Dmitri Pavlenkov

Snippets by tags

async (98) computation builder (17) parsing (28) web (29) staging (18) game (32) math (35) learning f# (16) generic programming (17) wpf (20) agent (20) tryfsharp (48) kata (17) lists (15) sequence (32) collections (16) monad (24) tutorial (17) http (18) quotations (21)

View all...

Database contains 3206 snippets out of which 1719 is public.