Recent snippets

Popular snippets

  • 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.

    74 people like this

    Posted: 15 years ago by Tomas Petricek

  • 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

  • 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

Snippets by tags

html (16) f# (43) collections (16) list (56) algorithms (25) reflection (19) mailboxprocessor (27) wpf (20) parsing (28) tryfsharp (48) string (29) tutorial (17) monad (24) regex (17) design patterns (18) staging (18) kata (17) sequence (32) silverlight (22) recursion (33)

View all...

Database contains 3209 snippets out of which 1719 is public.