Recent snippets

Popular snippets

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 14 years ago by Tao Liu

  • Read only ref

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

    93 people like this

    Posted: 15 years ago by fholm

  • 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

game (32) f# (43) quotations (21) list (56) web (29) tryfsharp (48) sequences (48) lists (15) sequence (32) agent (20) string (29) dsl (23) seq (54) pattern matching (15) wpf (20) recursion (33) staging (18) design patterns (18) math (35) silverlight (22)

View all...

Database contains 3208 snippets out of which 1719 is public.