Recent snippets

Popular snippets

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 15 years ago by Blake Coverett

  • 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

  • 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

Snippets by tags

agent (20) collections (16) web (29) algorithms (25) async (98) silverlight (22) computation expression (15) fold (22) seq (54) f# (43) json (16) design patterns (18) html (16) string (29) computation builder (17) pattern matching (15) kata (17) array (22) math (35) mailboxprocessor (27)

View all...

Database contains 3209 snippets out of which 1719 is public.