2 ms·
> They also need to preserve composition. > fmap (f . g) == fmap f . fmap g Can you give an example where that doesn't follow from `map identity f == f`? Assu
by OJFord 5y ago
> They also need to preserve composition.
> fmap (f . g) == fmap f . fmap g
Can you give an example where that doesn't follow from `map identity f == f`? Assuming of course `f` .. is what I think is called 'pure'? i.e. is deterministic on its input arguments.