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: 7 years ago by Alex Muscar

  • Read only ref

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

    81 people like this

    Posted: 7 years ago by fholm

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

    88 people like this

    Posted: 7 years ago by Neil Carrier

Snippets by tags

computation builder (14) fold (19) monad (21) math (32) json (12) async (94) reflection (18) quotations (18) agent (20) web (24) seq (51) string (21) lists (13) f# (42) xml (12) sequences (47) kata (17) staging (18) list (49) silverlight (21)

View all...

Database contains 2244 snippets out of which 1534 is public.