[Haskell-cafe] import IO

Brandon Allbery allbery.b at gmail.com
Wed May 16 21:39:28 CEST 2012


On Wed, May 16, 2012 at 3:32 PM, A Smith <asmith9983 at gmail.com> wrote:

> Hi folks
> I need a little help.
> I had a hiccup upgrading my Ubuntu system, and eventually did a fresh
> install.
> Its mostly fixed to my old favourite ways but I cannot remember what's
> needed to install the stuff that the "import IO" statement uses!
>

"import IO" is obsolescent, and recent Ubuntu went with a GHC that
deprecated it unless you ask for strict Haskell '98 compatibility.  So you
can do that ("-package haskell98"), or you can use the modern name ("import
System.IO").

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120516/11233c8a/attachment.htm>


More information about the Haskell-Cafe mailing list