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

  • Read only ref

    F# implementation of RO_ref from the "Effective ML" talk.

    92 people like this

    Posted: 14 years ago by fholm

  • 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

pattern matching (15) computation expression (15) math (35) game (32) list (56) lists (15) parsing (28) agent (20) f# (43) sequence (32) array (22) monad (24) quotations (21) kata (17) regex (17) sequences (48) generic programming (17) html (16) json (16) silverlight (22)

View all...

Database contains 3206 snippets out of which 1719 is public.