Recent snippets

Popular snippets

  • Struct Tuple

    Two/Three/Four-element generic tuples implemented as a value types for writing more efficient F# code.

    77 people like this

    Posted: 15 years ago by fholm

  • Minimal XML DSL

    This snippet provides a very small internal DSL for creating and querying XML using the underlying XLinq classes.

    374 people like this

    Posted: 15 years ago by Blake Coverett

  • Implementing active objects with a MailboxProcessor

    Mailbox processors can easily be used to implement active objects. This example shows how to do that with a reusable wrapper type and minimal boilerplate code in the actual class definitions. Supports both asynchronous calls and synchronous calls. For the latter case, exceptions are automatically propagated back to the caller.

    92 people like this

    Posted: 15 years ago by Wolfgang Meyer

Snippets by tags

dsl (23) computation expression (15) http (18) staging (18) mailboxprocessor (27) fold (22) algorithms (25) silverlight (22) async (98) kata (17) tryfsharp (48) computation builder (17) math (35) f# (43) sequences (48) recursion (33) collections (16) reflection (19) agent (20) json (16)

View all...

Database contains 3208 snippets out of which 1719 is public.