Recent snippets

  • Functional wrappers for TryParse APIs

    Exemplary convenience wrappers for some of the System..TryParse APIs, using the combined power of F#' return value deconstruction mechanism via pattern matching, active patterns and option types instead of "out/ref" parameters. Added support for newest versions of F# to determine which overload of TryParse should be used.

    0 people like this

    Posted: 1 month ago by Cody

  • String.Join with pipe

    Just use the concat

    0 people like this

    Posted: 3 months ago by Tuomas Hietanen

  • Nested list functions

    Higher-order functions for working with nested lists that reimplement various useful List module functions, but work on nested lists, preserving the original nesting strucutre when possible.

    4 people like this

    Posted: 5 months ago by Tomas Petricek

Popular snippets

  • Read only ref

    F# implementation of RO_ref from the "Effective ML" talk.

    90 people like this

    Posted: 14 years ago by fholm

  • Monadic Memoization

    Modular memoization within a pure functional setting that is implemented as a convenient computation builder.

    91 people like this

    Posted: 14 years ago by Nick Palladinos

  • ObservableObject

    The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.

    67 people like this

    Posted: 14 years ago by Phillip Trelford

Snippets by tags

lazy (20) monad (24) quotations (21) dsl (23) collections (16) recursion (33) json (15) staging (18) game (32) generic programming (17) fold (22) reflection (19) parsing (28) sequence (32) wpf (20) mailboxprocessor (27) web (29) lists (15) list (56) tryfsharp (48)

View all...

Database contains 3198 snippets out of which 1713 is public.