Reusable decorators in F#


Comp-os-ition F# fanbois often talk about how F# supposedly makes "composition" easier than C# (or indeed any OO-first langage). If you come from a C# background, you might not really think about what people mean by "composition", because to be honest functional composition in the OO world is pretty difficult to achieve. You achieve it … Continue reading Reusable decorators in F#

Introducing HadoopFs – F# for Hadoop


Having spent a while using Hadoop on HDInsight now, I wanted to look at writing Hadoop mapper and reducers in F#. There are several reasons for this as opposed to other languages such as Java, Python and C#. I'm not going to go into all of the usual features of F# over other languages, but the main … Continue reading Introducing HadoopFs – F# for Hadoop

Azure Storage F# Type Provider – Now with Table Support


In the words of Professor Farnsworth - Good news everybody! I've finally gotten around to looking at adding some basic Azure Table Storage support to the Azure Type Provider. Why Table Storage? There are some difficulties with interacting with Azure Table Storage through the native .NET API, some of which impacts how useful (or not) … Continue reading Azure Storage F# Type Provider – Now with Table Support

Correlating emails and football matches


As those of you who know me even a little, you'll know I'm a football (soccer to you Americans) fan. I subscribe to a mailing list in where fans of my team debate our team's performances and generally how we've botched up another season by not buying the correct players, persisting with deadwood etc. etc.. … Continue reading Correlating emails and football matches

An Azure Type Provider for F# – first steps


I plan on blogging a bit more about my experiences with writing Type Providers in general as there's a dearth of material readily available online. At any rate, after several false starts, I now have a moderately usable version of a Azure Blob Storage type provider on GitHub! It's easy to consume - just create … Continue reading An Azure Type Provider for F# – first steps

Trying F# – are you a developer or a mouse?


Since starting to deliver my "Power of F#" talk to user groups and companies (generally well received - I hope), and getting involved in a few twitter debates on F#, I've noticed a few common themes regarding why .NET teams aren't considering trying out F# to add to their development stack. Part of this is the usual spiel of … Continue reading Trying F# – are you a developer or a mouse?

A refresher on Async


A bit late in the day, but here's a quick-and-simple demonstration of the fundamental difference between single-threaded, multi-threaded and asynchronous coding patterns. To illustrate this, here's a simple task that you've no doubt seen a million times before - download a number of resources over HTTP. The code for this demo is available in both … Continue reading A refresher on Async