Recent snippets

Popular snippets

  • Command pattern for Redo-Undo II

    This command redo-undo implement group the command under Do/Undo category.

    71 people like this

    Posted: 15 years ago by Tao Liu

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 15 years ago by Blake Coverett

  • The Haskell const function

    The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.

    119 people like this

    Posted: 15 years ago by Alex Muscar

Snippets by tags

async (98) algorithms (25) dsl (23) quotations (21) reflection (19) tryfsharp (48) design patterns (18) mailboxprocessor (27) json (16) pattern matching (15) silverlight (22) lazy (20) list (56) math (35) fold (22) collections (16) recursion (33) game (32) http (18) seq (54)

View all...

Database contains 3212 snippets out of which 1719 is public.