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

  • Top-Down-Operator-Precedence Parser

    F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300

    89 people like this

    Posted: 14 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.

    100 people like this

    Posted: 15 years ago by Neil Carrier

Snippets by tags

seq (54) computation builder (17) list (56) design patterns (18) lists (15) regex (17) learning f# (16) web (29) dsl (23) sequence (32) tryfsharp (48) json (16) game (32) sequences (48) tutorial (17) wpf (20) async (98) staging (18) collections (16) f# (43)

View all...

Database contains 3207 snippets out of which 1719 is public.