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

  • 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

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

    74 people like this

    Posted: 15 years ago by Tomas Petricek

Snippets by tags

sequences (48) monad (24) seq (54) html (16) list (56) sequence (32) f# (43) algorithms (26) web (29) recursion (33) generic programming (17) quotations (21) json (16) lists (15) agent (20) game (32) array (22) lazy (20) staging (18) string (29)

View all...

Database contains 3208 snippets out of which 1719 is public.