Recent snippets

Popular snippets

  • NUnit Sugar

    Some simple functions for writing more idiomatic F# tests with NUnit.

    91 people like this

    Posted: 14 years ago by Ryan Riley

  • 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.

    57 people like this

    Posted: 14 years ago by Ryan Riley

  • 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: 14 years ago by Blake Coverett

Snippets by tags

fold (22) reflection (19) math (35) monad (24) http (18) f# (43) design patterns (18) generic programming (17) learning f# (16) kata (17) regex (17) string (29) lazy (20) mailboxprocessor (27) quotations (21) list (56) web (29) staging (18) game (32) tutorial (17)

View all...

Database contains 3206 snippets out of which 1719 is public.