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: 14 years ago by Antonio Cisternino

  • Partition a sequence until a predicate is satiated

    This function is given a partition predicate and a sequence. Until the predicate returns false, a list will be filled with elements. When it is, both the list and the remainder of the sequence will be returned. Note that this example preserves the laziness of the unchecked sequence elements.

    69 people like this

    Posted: 14 years ago by Rick Minerich

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 14 years ago by Blake Coverett

Snippets by tags

computation builder (17) parsing (28) sequences (48) algorithms (26) kata (17) f# (43) staging (18) pattern matching (15) recursion (33) http (18) regex (17) reflection (19) generic programming (17) async (98) dsl (23) design patterns (18) computation expression (15) learning f# (16) tutorial (17) list (56)

View all...

Database contains 3205 snippets out of which 1719 is public.