Recent snippets

Popular snippets

  • Creating objects with events

    This snippet shows how to create objects with events in F#. It shows both simple event (to be used from F#) and a .NET compatible event with specific delegate type.

    75 people like this

    Posted: 6 years ago by Tomas Petricek

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

    103 people like this

    Posted: 6 years ago by Antonio Cisternino

  • Continuation-Passing Mnemonics

    Continuations provide a means whereby heap space can be traded for stack depth (heap space being generally more plentiful than stack depth). They are especially useful where tail recursion is not possible. Here are a couple of simple continuation examples that can be extended to cover more complex scenarios.

    88 people like this

    Posted: 6 years ago by Neil Carrier

Snippets by tags

learning f# (16) fold (19) lists (13) wpf (17) html (14) game (30) sequence (29) design patterns (18) tutorial (16) agent (20) dsl (22) string (17) collections (16) monad (20) mailboxprocessor (25) json (12) parsing (22) pattern matching (12) xml (12) seq (48)

View all...

Database contains 2074 snippets out of which 1445 is public.