Recent snippets

Popular snippets

  • Projecting lists

    Three functions showing how to implement projection for functional lists. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter. The third version extends this with continuation passing.

    75 people like this

    Posted: 15 years ago by Tomas Petricek

  • 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

  • get the list of LAN Sql servers

    get the list of ethernet sql servers

    90 people like this

    Posted: 15 years ago by nCdy

Snippets by tags

seq (54) string (29) math (35) fold (22) monad (24) array (22) lazy (20) f# (43) regex (17) dsl (23) quotations (21) tutorial (17) list (56) http (18) sequence (32) generic programming (17) game (32) design patterns (18) async (98) algorithms (25)

View all...

Database contains 3208 snippets out of which 1719 is public.