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.

    73 people like this

    Posted: 14 years ago by Tomas Petricek

  • 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: 15 years ago by Antonio Cisternino

  • Top-Down-Operator-Precedence Parser

    F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300

    89 people like this

    Posted: 14 years ago by fholm

Snippets by tags

math (35) html (16) monad (24) tutorial (17) http (18) staging (18) computation builder (17) silverlight (22) fold (22) quotations (21) f# (43) list (56) recursion (33) pattern matching (15) web (29) sequence (32) async (98) learning f# (16) generic programming (17) collections (16)

View all...

Database contains 3208 snippets out of which 1719 is public.