Recent snippets

Popular snippets

  • Monadic Memoization

    Modular memoization within a pure functional setting that is implemented as a convenient computation builder.

    92 people like this

    Posted: 14 years ago by Nick Palladinos

  • Struct Tuple

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

    77 people like this

    Posted: 14 years ago by fholm

  • Composable WCF Web API using Async

    A functional wrapper around the new WCF Web APIs (http://wcf.codeplex.com/). Composition is achieved through the use of the HttpRequestMessage -> Async signature. Pushing the app calls in the MessageHandler intercepts all requests and allows you to take control at the earliest point possible before operation selection occurs. Extending this slightly to call the innerChannel's SendAsync would allow you to create a middleware layer that would work both with this and other, normal Web API services.

    63 people like this

    Posted: 15 years ago by Ryan Riley

Snippets by tags

recursion (33) json (16) kata (17) sequences (48) tryfsharp (48) computation builder (17) sequence (32) math (35) array (22) lists (15) monad (24) agent (20) silverlight (22) regex (17) collections (16) computation expression (15) html (16) game (32) web (29) generic programming (17)

View all...

Database contains 3208 snippets out of which 1719 is public.