Recent snippets

Popular snippets

  • Haskell function : iterate

    Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.

    203 people like this

    Posted: 15 years ago by Nick Palladinos

  • Dynamic operator using Reflection

    Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.

    73 people like this

    Posted: 14 years ago by Tomas Petricek

  • Read only ref

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

    92 people like this

    Posted: 14 years ago by fholm

Snippets by tags

tutorial (17) json (16) math (35) design patterns (18) recursion (33) reflection (19) game (32) learning f# (16) fold (22) monad (24) html (16) list (56) algorithms (26) parsing (28) wpf (20) computation expression (15) web (29) sequence (32) dsl (23) lists (15)

View all...

Database contains 3208 snippets out of which 1719 is public.