suls (1) [Avatar] Offline
Hi Debasish,

Any chance that you will include a chapter about Free interpreters? I think this topic is ripe for some serious discussion in the format of a chapter. And to be honest, your book seems to be destined for this smilie

  • Slides:

  • Code:

  • In Haskell:

  • In Haskell 2:

  • Cheers, Mathias
    Debasish Ghosh (116) [Avatar] Offline
    Hi Mathias -

    Absolutely. I have just touched upon the concept of algebra and interpreters in Chapter 3, which has just been MEAPed. Didn't want to rush through in the first attempt, since I have not yet introduced Functors or Monads in any great detail.

    Chapter 4 should see much of what you are talking about. Then when I talk about CQRS in later chapters I will also discuss how we can have Commands as Free Monads whose interpretation generates Events - a pattern of how to implement CQRS as part of a domain model.

    Thanks for the links.
    - Debasish