[Haskell] Why is newChan in the IO Monad?
S. Alexander Jacobson
alex at alexjacobson.com
Fri Apr 23 15:21:55 EDT 2004
Nothing actually happens when newChan is called
except construction of a new datastructure. It
would be nice to have non IO monad code be able to
create a new Chan that gets passed to IO code that
uses it somewhere else.
Alternatively, is there a way to create a Chan
outside the IO monad?
S. Alexander Jacobson mailto:me at alexjacobson.com
More information about the Haskell