[Haskell-beginners] shortcut for printing to stderr
Christopher Howard
christopher.howard at frigidcode.com
Wed May 18 07:45:48 CEST 2011
I use a formula like this very often:
hPutStrLn stderr "error message"
Is there not some shortcut function in base that prints to stderr
without having to pass in the handle? Obviously it is not hard to define
one, but it would be neat to know if there was already one in base. (I
couldn't seem to find one in the System.IO listing.)
--
frigidcode.com
theologia.indicium.us
More information about the Beginners
mailing list