Hi,
| I am using winhugs.exe under windows 98. I do not seem to be
| able to load several scripts.
|
| I have tried :load f1 f2 f3 and :also f1 f2 f3, where f1, f2 f3
| are .hs or .lhs files. I seem to be getting only the contents of
| the last script loaded.
Hugs is probably loading the three modules just fine, but then it
leaves you in the context of the third module, which may mean that
things defined in the first two are not accessible. You will see
the name of the current module in the default Hugs prompt, and you
can change to a different module using the :m command.
To make use of the definitions in several modules, you need to
define a new module (or modify an existing one) to import all
the bits that you want into a single context.
For example, try something like:
module TopLevel where
import A
import B
import C
In fact, if you do this, you won't even need to use multiple module
names on the command line. Just type :l TopLevel and Hugs will do
its best to find and load all the modules for you.
All the best,
Mark