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

  • FSX Structure

    I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.

    127 people like this

    Posted: 15 years ago by Blake Coverett

  • Monadic Memoization

    Modular memoization within a pure functional setting that is implemented as a convenient computation builder.

    92 people like this

    Posted: 15 years ago by Nick Palladinos

Snippets by tags

lazy (20) fold (22) f# (43) agent (20) monad (24) web (29) quotations (21) design patterns (18) game (32) algorithms (25) list (56) html (16) recursion (33) computation builder (17) pattern matching (15) http (18) generic programming (17) parsing (28) computation expression (15) collections (16)

View all...

Database contains 3208 snippets out of which 1719 is public.