Control.Concurrent.Chan: how do i close a channel?

Claus Reinke claus.reinke at talk21.com
Mon Jul 16 08:03:51 EDT 2007


in principle, Chan looks like a nice way to do pipes within
haskell code, or to avoid unsafeInterleaveIO, in combination
with getChanContents (which explicitly mentions hGetContents
in its API doc).

however, i seem to be missing a way to close a channel?
am i misinterpreting this library?

claus





More information about the Libraries mailing list