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

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 15 years ago by Tao Liu

  • 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

Snippets by tags

sequences (48) collections (16) reflection (19) silverlight (22) generic programming (17) async (98) http (18) wpf (20) list (56) monad (24) tryfsharp (48) recursion (33) string (29) quotations (21) staging (18) kata (17) algorithms (25) web (29) computation expression (15) design patterns (18)

View all...

Database contains 3209 snippets out of which 1719 is public.