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.

    127 people like this

    Posted: 15 years ago by Blake Coverett

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 15 years ago by Tao Liu

  • Adapter pattern

    Invoke the methods from incompatible types

    111 people like this

    Posted: 15 years ago by Tao Liu

Snippets by tags

quotations (21) staging (18) mailboxprocessor (27) reflection (19) seq (54) silverlight (22) generic programming (17) web (29) f# (43) lists (15) kata (17) recursion (33) sequence (32) array (22) html (16) regex (17) pattern matching (15) fold (22) agent (20) computation expression (15)

View all...

Database contains 3209 snippets out of which 1719 is public.