FP Complete
10 Case Studies
A FP Complete Case Study
One of Europe’s largest energy companies (70,000 employees, €50B in sales, 24 million customers) needed a way to define and operationally execute bespoke financial and physical energy contracts. Their existing commercial trading system, Excel workarounds and a C# prototype were slow to customize, error‑prone, created IT bottlenecks and couldn’t model complex, path‑dependent contracts or handle memory efficiently.
They replaced the prototype with a Haskell‑based domain‑specific language and dedicated compiler that builds contract ASTs and uses lazy evaluation to support multiple interpreters for operations, pricing and risk. The result was faster, safer contract development and deployment, much lower memory and CPU usage (including hibernation support), increased throughput of complex contracts and higher profitability.
Anthony Waite
Project Leader