Removing lazy IO?
Edward Kmett
ekmett at gmail.com
Thu Nov 10 02:33:39 CET 2011
I fail to see what is lazy about this O. It looks like regular O to me. =)
On Wed, Nov 9, 2011 at 5:38 PM, Joachim Breitner
<mail at joachim-breitner.de>wrote:
> Hi,
>
> Am Dienstag, den 08.11.2011, 19:26 -0800 schrieb Jason Dagit:
> > The other separate proposal that I would like to propose (at some time
> > in the future) is a thorough removal of "lazy IO" from base. Or at
> > least make it not available in the Prelude (ie., people have to ask
> > for it if they want it). Perhaps this would require the support of
> > Haskell'?
>
> I very much like the lazy O in lazy IO, e.g. with this real-life code
> line:
>
> hPutStrLn stderr $ "Out of " ++ show (IxS.size (binaries unstable
> `IxS.union` binaries testing)) ++ " binary packages, " ++ show (IxS.size
> unmod) ++ " are unmodified, but
> " ++ show (IxS.size affected) ++ " are possibly affected."
>
> Thanks to lazy IO, I get a very nice feedback about what the code is
> doing right now, and how long the various values take to calculate.
>
> Greetings,
> Joachim
>
> --
> Joachim "nomeata" Breitner
> mail at joachim-breitner.de | nomeata at debian.org | GPG: 0x4743206C
> xmpp: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
>
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20111109/196e6870/attachment.htm>
More information about the Libraries
mailing list