8. Functors
Learning Haskell Notes - 0 views
-
-
A "functor" is a structured collection (or container) type with a method (fmap) that accepts a method and applies that method to the members of the collection yielding an isomorphic collection of values of a (possibly) new type. Is this right?
-
Every monad is a functor, but not the other way around; a monad is a functor PLUS functions >>= and return satisfying some laws
- ...4 more annotations...
1 - 2 of 2
Showing 20▼ items per page