resetting in ghci

Simon Marlow simonmar@microsoft.com
Tue, 30 Apr 2002 10:02:17 +0100


> Dear GHC,
>=20
> Does  ghci  have a command of           clearing =20
> out of all the currently defined values
> (like  x  set by  `let x =3D 1') ?=20
> What about un-loading modules?
> Does the user need to exit and re-run ghci in order to reset the=20
> created environment?
> Such situation is not a tragedy, but still ... =20

:load with no arguments will unload all the currently loaded modules and
bindings.

Cheers,
	Simon