scalaz/scalaz — comment on commit 76f647ee8ebbb7cc0429447d027dcfb737f7247c
File: iteratee/src/main/scala/scalaz/iteratee/StepT.scala line 8
By jsuereth:

I'm commenting here, since this is the last person to touch this line.

It seems to implement random-access Iteratees and have a viable error-channel between Enumerators/Iteratees, you really really need to have the "cont" case also take an Option[ChannelMsg]. See:

https://github.com/jsuereth/scalaz/blob/scalaz-nio2/nio/src/main/scala/scalaz/nio/generic/iteratees.scala#L122

and

https://github.com/jsuereth/scalaz/blob/scalaz-nio2/nio/src/main/scala/scalaz/nio/channels/filechannels.scala#L31

and

https://github.com/jsuereth/scalaz/blob/scalaz-nio2/nio/src/main/scala/scalaz/nio/channels/filechannels.scala#L48

for example usage.