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

  • Adapter pattern

    Invoke the methods from incompatible types

    111 people like this

    Posted: 15 years ago by Tao Liu

  • Factory Pattern

    Factory pattern in F#

    82 people like this

    Posted: 15 years ago by Tao Liu

Snippets by tags

http (18) math (35) string (29) agent (20) staging (18) game (32) regex (17) list (56) seq (54) sequence (32) parsing (28) f# (43) pattern matching (15) generic programming (17) quotations (21) html (16) learning f# (16) mailboxprocessor (27) tutorial (17) reflection (19)

View all...

Database contains 3212 snippets out of which 1719 is public.