[Haskell-cafe] different behaviours with or without putStrLn
Brandon Allbery
allbery.b at gmail.com
Mon Jan 13 00:10:56 UTC 2014
On Sun, Jan 12, 2014 at 6:44 PM, Corentin Dupont
<corentin.dupont at gmail.com>wrote:
> One question:
> Since it works with putStrLn, can I simulate the behaviour of putStrLn
> without actually... printing anything? As a workaround...
>
Worst case, open a handle on /dev/null and hPutStr to it.
I'd probably try to figure out how to write appropriate NFData instances,
though.
--
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140112/fb317cfe/attachment.html>
More information about the Haskell-Cafe
mailing list