[Haskell] IVars

Conal Elliott conal at conal.net
Tue Dec 4 01:25:17 EST 2007


Oh.  Simple enough.  Thanks.

Another question:  why the IO in readIVar :: IVar a -> IO a, instead of just
readIVar :: IVar a -> a?  After all, won't readIVar iv yield the same result
(eventually) every time it's called?

On Dec 3, 2007 12:29 AM, Lennart Augustsson <lennart at augustsson.net> wrote:

> You can make them from MVars.
>
> On Dec 2, 2007 8:03 PM, Conal Elliott <conal at conal.net> wrote:
>
> > what became of (assign-once) IVars?  afaict, they were in concurrent
> > haskell and now aren't.
> >
> > _______________________________________________
> > Haskell mailing list
> > Haskell at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20071203/861f3097/attachment.htm


More information about the Haskell mailing list