I can't seem to load an additional module in June98 Hugs1.4 without
erasing the definitions of the current module. For example:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module Hugs14Test7 (test1) where
test1 = True
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
module Hugs14Test7a (test2) where
test2 = True
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
In hugs, I get:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
___ ___ ___ ___ __________ __________
/ / / / / / / / / _______/ / _______/ 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 "/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs":
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Type :? for help
Prelude> :l Hugs14Test7.hs
Reading file "Hugs14Test7.hs":
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Hugs14Test7.hs
Hugs14Test7> :i test1
test1 :: Bool
Hugs14Test7> test1
True
Hugs14Test7> :l
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Prelude> :l Hugs14Test7a
Reading file "Hugs14Test7a.hs":
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Hugs14Test7a.hs
Hugs14Test7a> :i test2
test2 :: Bool
Hugs14Test7a> test2
True
Hugs14Test7a> :l
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Prelude> :l Hugs14Test7.hs
Reading file "Hugs14Test7.hs":
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Hugs14Test7.hs
Hugs14Test7> :a Hugs14Test7a.hs
Reading file "Hugs14Test7a.hs":
Hugs session for:
/grp/fp/hugs-1.4/lib/hugs/lib/Prelude.hs
Hugs14Test7.hs
Hugs14Test7a.hs
Hugs14Test7a> :i test1
Unknown reference `test1'
Hugs14Test7a> :i test2
test2 :: Bool
Hugs14Test7a>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Am I doing something wrong?
Graeme.