|
|
|
|
|
by spion
3942 days ago
|
|
My problem wasn't the word but the fact that the word is not adjective - originally I spent a lot of time thinking "where is the monad?". This of course is the wrong question to ask, but if the word was "monadic" instead, then I would've known that this is a property (like iterable, foldable, applicative etc), and realized I should think of typeclasses more in terms of interfaces rather than values. Sure, their instances (implementations) are values (dictionaries of functions which are implicitly passed around) but thats beside the point when learning. |
|
It's harder than it has to be, but it's also more powerful than it has to be. Because against the right kind of problem, it'll be just barely powerful enough.