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

  • Composing a list of functions

    Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]

    87 people like this

    Posted: 15 years ago by Novox

  • Command pattern for Redo-Undo II

    This command redo-undo implement group the command under Do/Undo category.

    71 people like this

    Posted: 14 years ago by Tao Liu

Snippets by tags

http (18) dsl (23) regex (17) mailboxprocessor (27) agent (20) kata (17) string (29) design patterns (18) lists (15) quotations (21) fold (22) computation expression (15) sequences (48) list (56) reflection (19) wpf (20) seq (54) f# (43) sequence (32) collections (16)

View all...

Database contains 3208 snippets out of which 1719 is public.