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.

    90 people like this

    Posted: 14 years ago by Tao Liu

  • Association list lookup

    While prototyping programs I find myself using association lists. This little snippet defines a lookup functions for association lists defined as lists of tuples.

    68 people like this

    Posted: 15 years ago by Alex Muscar

  • Chain of responsibility II

    Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.

    104 people like this

    Posted: 14 years ago by Tao Liu

Snippets by tags

dsl (23) html (16) pattern matching (15) async (98) monad (24) parsing (28) json (16) lazy (20) generic programming (17) tutorial (17) recursion (33) f# (43) computation expression (15) game (32) sequence (32) tryfsharp (48) computation builder (17) algorithms (26) quotations (21) sequences (48)

View all...

Database contains 3208 snippets out of which 1719 is public.