foldMap<M, MA extends M> method
Implementation
MA foldMap<M, MA extends M>(Monad<M> m, M f(F fa)) =>
cast(/*step().*/fold((a) => m.pure(a), (fa) => f(fa), (ffb, f2) => m.bind(ffb.foldMap(m, f), (c) => f2(c).foldMap(m, f))));