Recent snippets

Popular snippets

  • Load XAML

    This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.

    109 people like this

    Posted: 14 years ago by Antonio Cisternino

  • 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

  • Filtering lists

    Two functions showing how to filter functional lists using the specified predicate. First version uses naive recursion and the second one is tail-recursive using the accumulator parameter.

    77 people like this

    Posted: 14 years ago by Tomas Petricek

Snippets by tags

computation expression (15) computation builder (17) reflection (19) f# (43) async (98) regex (17) lazy (20) tryfsharp (48) seq (54) game (32) sequence (32) http (18) parsing (28) agent (20) recursion (33) string (29) tutorial (17) list (56) wpf (20) generic programming (17)

View all...

Database contains 3206 snippets out of which 1719 is public.