Recent snippets

Popular snippets

  • Chain of responsibility

    The following sample wants to make sure the person’s age is between 18 and 65, weight is no more than 200 and tall enough (>120).

    85 people like this

    Posted: 14 years ago by Tao Liu

  • 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: 15 years ago by Tomas Petricek

  • 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

Snippets by tags

collections (16) recursion (33) lists (15) kata (17) wpf (20) html (16) tutorial (17) mailboxprocessor (27) f# (43) string (29) lazy (20) silverlight (22) web (29) seq (54) staging (18) array (22) sequences (48) pattern matching (15) generic programming (17) regex (17)

View all...

Database contains 3208 snippets out of which 1719 is public.