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

  • 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: 11 years ago by Muhammad Mugees Asif

  • Break sequence into n-element subsequences

    I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.

    73 people like this

    Posted: 15 years ago by Dmitri Pavlenkov

Snippets by tags

list (56) fold (22) web (29) async (98) seq (54) monad (24) sequences (48) f# (43) lists (15) parsing (28) array (22) tutorial (17) reflection (19) http (18) game (32) learning f# (16) pattern matching (15) math (35) design patterns (18) algorithms (26)

View all...

Database contains 3207 snippets out of which 1719 is public.