Scalaz iteratees: “Lifting” `EnumeratorT` to match `IterateeT` for a “bigger” monad

If I have an EnumeratorT and a corresponding IterateeT I can run them together: val en: EnumeratorT[String, Task] = EnumeratorT.enumList(List(“a”, “b”, “c”)) val it: IterateeT[String, Task, Int] = IterateeT.length (it &= en).run : Task[Int] If the enumerator monad is “bigger” than the iteratee monad, I can use up or, more generally, Hoist to “lift” the … Read more