Transforms the contents of a Functor.
This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.
forall F, a, b:
(F a, (a) => b) => F b
where F is Functor
Transforms the contents of a Functor.
Transforms the contents of a Functor.
Transforms the contents of a Functor.
(functor, transformation) =>
isNew(functor) ? functor[flMap](transformation)
: isOld(functor) ? warn(functor.map(transformation))
: /*otherwise*/ unsupported(functor)