Recent snippets

Popular snippets

  • Command pattern for Redo-Undo II

    This command redo-undo implement group the command under Do/Undo category.

    71 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

  • Break sequence into n-element subsequences

    I'm working on parallel computations and I thought it would be useful to break work into chunks, especially when processing each element asynchronously is too expensive. The neat thing is that this function is general even though motivation for it is specific. Another neat thing is that this is true lazy sequence unlike what you'd get if you used Seq.groupBy. There are three versions for your enjoyment.

    73 people like this

    Posted: 15 years ago by Dmitri Pavlenkov

Snippets by tags

array (22) computation expression (15) silverlight (22) design patterns (18) staging (18) f# (43) dsl (23) wpf (20) mailboxprocessor (27) reflection (19) regex (17) game (32) lists (15) string (29) quotations (21) tryfsharp (48) json (16) sequence (32) list (56) lazy (20)

View all...

Database contains 3208 snippets out of which 1719 is public.