Libraries (was: IO monad and lazy evaluation)

Graham Klyne GK@ninebynine.org
Sat, 24 May 2003 19:34:56 +0100


At 16:27 23/05/03 +0200, Wolfgang Jeltsch wrote:
>On Thursday, 2003-05-22, 13:27, CEST Graham Klyne wrote:
> > [...]
>
> > and still have to name their directories explicitly in the Hugs registry
> > entry.
>
>Could it be that you can avoid this by using the +N command line option?

The problem was slightly more subtle:  the library files were found OK,
but error messages were generated (I forget the exact message) which I've
previously seen when the module name does not match the filename.

> > (b) I had to explicitly import a couple of Data.Char values that were
> > previously picked up automatically (isSpace somes to mind).
>
>This may have something to do with the fact that isSpace and others are
>included in the Hugs prelude although they are not part of the standard
>prelude.

That would seem consistent with what I observed.

#g


-------------------
Graham Klyne
<GK@NineByNine.org>
PGP: 0FAA 69FF C083 000B A2E9  A131 01B9 1C7A DBCA CB5E