Author name: Victoria Bailey

Domain Modelling with Haskell: Accumulating with WriterT

This is the third episode in the short series on Domain Modelling with Haskell. Now our hypothetical customer requires reporting not only at the level of individual projects, but also on the project group level. Our previous solution using Traversable and Foldable won’t help us much, so we use explicit recursion and the WriterT monad …

Domain Modelling with Haskell: Accumulating with WriterT Read More »

Domain Modelling with Haskell: Generalizing with Foldable and Traversable

This is the second episode in the short series on Domain Modelling with Haskell. In this episode, we will generalize our domain model from the last episode, providing more fine-grained reporting, with less code. Show Notes In the last episode we modelled a basic project management system using Haskell data structures. We had the ability …

Domain Modelling with Haskell: Generalizing with Foldable and Traversable Read More »

Scroll to Top