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: 15 years ago by Blake Coverett

  • 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

  • Units of Measure

    Show's how to define units of measure to add stronger typing to your numerical functions.

    75 people like this

    Posted: 15 years ago by Robert Pickering

Snippets by tags

regex (17) reflection (19) list (56) html (16) fold (22) lists (15) generic programming (17) game (32) algorithms (26) agent (20) sequences (48) computation builder (17) quotations (21) math (35) web (29) recursion (33) wpf (20) mailboxprocessor (27) parsing (28) monad (24)

View all...

Database contains 3207 snippets out of which 1719 is public.