GHC Poll: scope in GHCi

Simon Marlow
Tue, 22 Jan 2002 16:36:28 -0000

> "Simon Marlow" <> writes:
> > Ok, so in general a 'scope' can be constructed by combining:
> >=20
> >    1. the full top-level scope from zero or more=20
> *interpreted* modules
> >    2. the exports of zero or more modules (interpreted or compiled)
> >    3. any temporary bindings made on the command line
> I'd like to suggest one more thing that it would be nice to have in
> scope.  I would like every loaded module to be imported "qualified"
> into the scope.  (In fact, I would prefer if this were the default,
> although I suppose it might be useful to have a way to turn it off.)

Sure.  In fact, GHCi already supports this:

	Prelude> Time.getClockTime >>=3D IO.putStrLn . show
	Tue Jan 22 16:33:58 GMT 2002