Functor
(Note - don’t use this, use cats)
Simple implementation of a Functor
type-class.
Laws Functors must follow:
map(m)(id) == m
map(m)(f andThen g) == map(map(m)(f))(g)
Documentation Help
We’d love your help fleshing out this documentation! You can edit this page in your browser by clicking this link. These links might be helpful: