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

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

    90 people like this

    Posted: 14 years ago by Tao Liu

  • Adapter pattern

    Invoke the methods from incompatible types

    110 people like this

    Posted: 14 years ago by Tao Liu

Snippets by tags

staging (18) kata (17) sequence (32) fold (22) list (56) computation expression (15) json (16) algorithms (26) generic programming (17) parsing (28) wpf (20) lazy (20) recursion (33) computation builder (17) collections (16) agent (20) web (29) http (18) learning f# (16) array (22)

View all...

Database contains 3207 snippets out of which 1719 is public.