Recent snippets

Popular snippets

  • Adapter pattern

    Invoke the methods from incompatible types

    110 people like this

    Posted: 14 years ago by Tao Liu

  • Exploring Population Data

    Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"

    383 people like this

    Posted: 12 years ago by Muhammad Mugees Asif

  • 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

collections (16) lazy (20) list (56) quotations (21) mailboxprocessor (27) tutorial (17) game (32) design patterns (18) computation builder (17) computation expression (15) math (35) algorithms (26) html (16) async (98) recursion (33) regex (17) kata (17) lists (15) sequence (32) parsing (28)

View all...

Database contains 3208 snippets out of which 1719 is public.