Recent snippets

Popular snippets

  • Units of Measure

    Show's how to define units of measure to add stronger typing to your numerical functions.

    75 people like this

    Posted: 15 years ago by Robert Pickering

  • 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.

    185 people like this

    Posted: 15 years ago by Tomas Petricek

  • Asynchronous sequences

    An asynchronous sequence is similar to the seq type, but the elements of the sequence are generated asynchronously without blocking the caller as in Async. This snippet declares asynchronous sequence and uses it to compare two files in 1k blocks.

    109 people like this

    Posted: 14 years ago by Tomas Petricek

Snippets by tags

quotations (21) staging (18) f# (43) sequences (48) generic programming (17) array (22) web (29) math (35) lazy (20) string (29) sequence (32) agent (20) tutorial (17) html (16) silverlight (22) mailboxprocessor (27) design patterns (18) json (16) collections (16) learning f# (16)

View all...

Database contains 3206 snippets out of which 1719 is public.