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

  • Adapter pattern

    Invoke the methods from incompatible types

    111 people like this

    Posted: 14 years ago by Tao Liu

  • 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

Snippets by tags

agent (20) fold (22) async (98) learning f# (16) computation expression (15) silverlight (22) web (29) array (22) generic programming (17) lists (15) list (56) string (29) kata (17) collections (16) math (35) dsl (23) pattern matching (15) design patterns (18) seq (54) computation builder (17)

View all...

Database contains 3208 snippets out of which 1719 is public.