Recent snippets

Popular snippets

  • WPF / SilverLight Converter II

    version 1 is http://fssnip.net/62. This new version support convert from any existing function to a converter function by using composition and pipeline. The convert function is to make the function signature agree to the IValueConverter interface. You can add new functions in the FunctionLibrary module and reuse the class definition to reduce the coding effort. The first sample is to show how to make the converter pipeline work, the second one is a debugger converter used to debug the data binding problem.

    86 people like this

    Posted: 9 years ago by Tao Liu

  • Split a list

    Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.

    78 people like this

    Posted: 9 years ago by Dmitri Pavlenkov

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

    105 people like this

    Posted: 10 years ago by Antonio Cisternino

Snippets by tags

http (17) agent (20) fold (21) parsing (26) staging (18) seq (54) tutorial (17) learning f# (16) list (54) string (25) pattern matching (14) lazy (20) kata (17) monad (22) generic programming (17) quotations (20) reflection (19) computation builder (14) design patterns (18) silverlight (22)

View all...

Database contains 2632 snippets out of which 1655 is public.