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

  • The Haskell const function

    The const function is simple, but you can use it to make your code more legible. In this example we convert a unary function to a function of arity 2 (that ignores the second argument). Also by using the flip function from Haskell (which is equally easy to define) you can ignore the first argument.

    119 people like this

    Posted: 15 years ago by Alex Muscar

  • Exploring Population Data

    Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"

    383 people like this

    Posted: 12 years ago by Muhammad Mugees Asif

Snippets by tags

agent (20) staging (18) tryfsharp (48) parsing (28) regex (17) html (16) computation builder (17) array (22) silverlight (22) lazy (20) algorithms (25) generic programming (17) design patterns (18) monad (24) reflection (19) seq (54) json (16) string (29) computation expression (15) game (32)

View all...

Database contains 3209 snippets out of which 1719 is public.