Recent snippets

Popular snippets

  • Haskell function : iterate

    Implements iterate function from Haskell's Prelude. The function generates an infinite sequence by applying a function to the initial value (first) and then to the result of previous application.

    203 people like this

    Posted: 15 years ago by Nick Palladinos

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 14 years ago by Tao Liu

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

    91 people like this

    Posted: 14 years ago by Tao Liu

Snippets by tags

async (98) agent (20) web (29) algorithms (25) http (18) list (56) tryfsharp (48) silverlight (22) parsing (28) array (22) computation expression (15) f# (43) design patterns (18) html (16) sequence (32) fold (22) lazy (20) string (29) staging (18) wpf (20)

View all...

Database contains 3208 snippets out of which 1719 is public.