Recent snippets

Popular snippets

  • Strategy pattern

    Strategy pattern in F#

    83 people like this

    Posted: 14 years ago by Tao Liu

  • Hello world (F#)

    Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.

    186 people like this

    Posted: 15 years ago by Tomas Petricek

  • 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

Snippets by tags

parsing (28) recursion (33) json (16) html (16) algorithms (25) async (98) reflection (19) sequence (32) array (22) http (18) string (29) lists (15) staging (18) computation builder (17) design patterns (18) tutorial (17) f# (43) quotations (21) game (32) monad (24)

View all...

Database contains 3208 snippets out of which 1719 is public.