intercalate<A> method
Implementation
A intercalate<A>(Monoid<A> mi, F fa, A a) => foldRight<A, Option<A>>(fa, none(), (A ca, oa) => some(mi.append(ca, oa.fold(mi.zero, mi.appendC(a))))) | mi.zero();
A intercalate<A>(Monoid<A> mi, F fa, A a) => foldRight<A, Option<A>>(fa, none(), (A ca, oa) => some(mi.append(ca, oa.fold(mi.zero, mi.appendC(a))))) | mi.zero();