Posts Tagged ‘active patterns’

Every day, the European Central Bank publishes “official” reference FX (foreign exchange) rates where currencies are quoted against the Euro (expressed as EUR/XXX), or 1 EUR = xxx XXX.

The exchange rates of the last thirty sessions are available in xml format which we shall try to parse.

In order to do so, we use F# and active patterns, based on Don Syme’s draft paper.

Read more »