News for hackers. Stuff that matters.
Re:Teenage Haskell by gizmo686 on Saturday June 28, 2014 @12:27AM (#7957411)
Monad and Functor are abstract, not complex. One of the things that is easy to forget once you know something is that the complex and concrete thing is often easier to understand than the simple and abstract thing. Of course, eventually you begin to consider the abstract thing to be concrete.
Re:Teenage Haskell by cousin_it on Saturday June 28, 2014 @07:42AM (#7957978)
If you just stick to the idea of type classes, then yeah, it is simple and abstract, even for constructor classes like Functor and Monad. But the reality of type classes in Haskell is not as simple, I think. Defaulting rules, "deriving", Paterson conditions, instance coherence, functional dependencies, etc.