Suppose I've got an Iterator[A]
. I would like to convert it to Process[Nothing, A]
of scalaz stream.
import scalaz.stream._
def foo[A](it: Iterator[A]): Process[Nothing, A] = ???
How would you implement foo
?
Suppose I've got an Iterator[A]
. I would like to convert it to Process[Nothing, A]
of scalaz stream.
import scalaz.stream._
def foo[A](it: Iterator[A]): Process[Nothing, A] = ???
How would you implement foo
?