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.

    117 people like this

    Posted: 8 years ago by Blake Coverett

  • Chain of responsibility II

    Unlike the previous chain of responsibility, this version use the pipeline to chain responsibilities.

    98 people like this

    Posted: 8 years ago by Tao Liu

  • Pipeline list processing

    An example showing how to process list in a pipeline. We first use List.filter to return only even numbers and then use List.map to format them as strings.

    90 people like this

    Posted: 9 years ago by Tomas Petricek

Snippets by tags

recursion (30) web (26) parsing (25) string (22) kata (17) staging (18) tutorial (17) silverlight (22) async (95) html (15) agent (20) pattern matching (13) reflection (18) generic programming (16) fparsec (15) array (21) list (52) math (34) tryfsharp (48) http (15)

View all...

Database contains 2372 snippets out of which 1612 is public.