effect emit(n: Int): Unit
type Stream = () => Unit / emit
is currently not possible as far as I can tell, since type expects its RHS to be a value type, but this RHS is a computation type. However, I'm not sure this restriction is necessary and would like to lift it.
is currently not possible as far as I can tell, since
type
expects its RHS to be a value type, but this RHS is a computation type. However, I'm not sure this restriction is necessary and would like to lift it.