sealed trait Process[+F[_], +O]
/**
* Created by pach on 11/07/14.
*/
package object stream {
type Process0[+O] = Process[Nothing,O]
...
}
This is how Process0 defined.
Actually I cannot understand why this compiles, because Nothing
takes no type param.
To represent a stream with no effect
why not just set the context type F to value type itself(using identity type constructor,
scalaz.Scalaz.Id
).
type Process0[+O] = Process[Id, O]