":load System" in mac version of Hugs Feb 2001
Hi, the macintosh version of Hugs 98 February 2001 gives me an error when I type ":load System": ----- Prelude> :load System Reading file "System": Parsing ERROR System:1 - Syntax error in declaration (unexpected symbol "d1") ------ Note that it works OK if you type ":load System.hs": ------- Prelude> :load System.hs Reading file "Macintosh HD:Applications (Mac OS 9):hugs98:lib:System.hs": Hugs session for: Macintosh HD:Applications (Mac OS 9):hugs98:lib:Prelude.hs Macintosh HD:Applications (Mac OS 9):hugs98:lib:System.hs -------- You can load other standard things without the ".hs", for instance: -------- List> :load List Reading file "Macintosh HD:Applications (Mac OS 9):hugs98:lib:List.hs": Reading file "Macintosh HD:Applications (Mac OS 9):hugs98:lib:Maybe.hs": Reading file "Macintosh HD:Applications (Mac OS 9):hugs98:lib:List.hs": Hugs session for: Macintosh HD:Applications (Mac OS 9):hugs98:lib:Prelude.hs Macintosh HD:Applications (Mac OS 9):hugs98:lib:Maybe.hs Macintosh HD:Applications (Mac OS 9):hugs98:lib:List.hs ------- / Kristofer Johannisson
At 10:58 +0100 2001/02/23, Kristofer Johannisson wrote:
the macintosh version of Hugs 98 February 2001 gives me an error when I type ":load System": ----- Prelude> :load System Reading file "System": Parsing ERROR System:1 - Syntax error in declaration (unexpected symbol "d1") ------
Note that it works OK if you type ":load System.hs":
Yes, I have noticed that problem, and the thing is that none of us (me and Pablo) could figure out why! :-) -- One explanation could be that for some reason, Hugs tries to read the MacOS system file, which on all Mac's is named "System", in which case it would read some strange garbage. But since there was no obvious immediate fix, and that one can load using the full name "System.hs", I guess we will have to live with the problem. Hans Aberg * Email: Hans Aberg mailto:haberg@member.ams.org * Home Page: http://www.matematik.su.se/~haberg/ * AMS member listing: http://www.ams.org/cml/
participants (2)
-
Hans Aberg -
Kristofer Johannisson