Recent snippets

Popular snippets

  • FSX Structure

    I use this basic template when writing .fsx files that I might want to compile. It adjusts the difference in command line/entrypoint handling between a script and a compiled assembly. This example shows the details for a WPF script — replace the #r's and/or remove the STAThread for a WinForms or Console script.

    124 people like this

    Posted: 13 years ago by Blake Coverett

  • Read only ref

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

    90 people like this

    Posted: 13 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: 13 years ago by Nick Palladinos

Snippets by tags

design patterns (18) pattern matching (15) kata (17) sequence (32) wpf (20) regex (17) monad (24) html (16) seq (54) array (22) algorithms (26) async (98) list (56) web (29) staging (18) lazy (20) fold (22) f# (43) generic programming (17) computation builder (17)

View all...

Database contains 3196 snippets out of which 1712 is public.