Monthly Archives: September 2010

C# Expressions vs. F# Quotations: A Syntax Comparison

In C# the easiest and most common way to create an expression is by implicitly converting a single line lambda into an expression: This implicit conversion is great for some APIs, like the mocking library MOQ: When I use MOQ, I’m glad that the l => l.Count lambda automatically gets converted to an expression, but […]

Posted in C#, F# | Leave a comment

Revisiting Elevate: Seq.pairwise for C#

I’ve been working on a few different projects over the last few months including some work outside of the .NET space. This has been good for my clients, but not so good for Elevate. Fortunately, I found some time the other day to add a new feature: a pairwise implementation for C#. In F#, the […]

Posted in C#, Elevate, F# | Leave a comment