> I'm not sure if this is a bug, may be some  correct behavior that I 
> can't figure out now. I'll be happy if you can take a look at it
> and inform me. Thanks..

This is the correct behaviour - hugsPutStr isn't exported from the
Prelude because it's not part of standard Haskell.

Alastair

> (I've erased some irrelevant details from the script..)
> $ cat Bug
> module Bug where
> $ hugs
> Hugs 1.4, The Nottingham and Yale Haskell User's System.   June 1998   .
>    Copyright (c) The University of Nottingham and Yale University, 1994-1998.
>     Bug reports: [EMAIL PROTECTED]   Web: http://www.haskell.org/hugs.
> 
> Reading file "/usr/local/share/hugs/lib/Prelude.hs":
> Hugs session for:
> /usr/local/share/hugs/lib/Prelude.hs
> Prelude> hugsPutStr
> <<function>>
> Prelude> :l Bug
> Reading file "Bug":
> Hugs session for:
> /usr/local/share/hugs/lib/Prelude.hs
> Bug
> Bug> hugsPutStr
> ERROR: Undefined variable "hugsPutStr"
> Bug> [Leaving Hugs]
> $ 


Reply via email to