system-f / fp-course

Functional Programming Course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Course.Monad is a red herring

tonymorris opened this issue · comments

People keep asking about Course.Monad and what exercises should be completed, however, there are no exercises in the source file. That's because Monad is a combination of the Applicative and Bind type-classes, where all the exercises are done. It is also because the README puts the module in the progression and after completing exercises in other modules, it is unclear what to do with Course.Monad.

The only real exercise is a thinking one. The understanding that the Monad type-class is the coming together of its sub type-classes (Applicative and Bind).

It is suggested that Course.Monad be removed from the suggested progression and that the module itself contain a comment clarifying its purpose.