suls (1) [Avatar] Offline
#1
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: https://dl.dropboxusercontent.com/u/4588997/ReasonablyPriced.pdf

  • Code: https://github.com/stew/reasonably-priced

  • In Haskell: http://www.haskellforall.com/2012/06/you-could-have-invented-free-monads.html

  • In Haskell 2: http://programmers.stackexchange.com/questions/242795/what-is-the-free-monad-interpreter-pattern


  • Cheers, Mathias
    Debasish Ghosh (111) [Avatar] Offline
    #2
    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