Hi!

The "Hugs Bugs Report Form" 
http://www.cse.ogi.edu/PacSoft/projects/Hugs/bug-reports.htm
gives an "Internal Server Error", so I repeat by email.

------------------------------------------------------------0
On import of certain library modules (Random, IOExts, Trace)
runhugs fails with a cryptic message

runhugs: lookupName: invalid module

while hugs runs the same program correctly. It seems that the problem is somehow
related to Trace, which is not often used in the finished programs, so maybe
runhugs is not meant to support it at all, but even in that unlikely case:

1) it should be documented
2) other libraries such as IOExt should not import Trace
3) runhugs should report clearly what is the problem

A session transcript is below

Regards,

Ilya Beylin                               email:  [EMAIL PROTECTED]
 Department of Computing Sciences,         http://www.cs.chalmers.se/~ilya/
 Chalmers University of Technology,       phone: +46-31-772-1079
 SE-41296 Gothenburg, Sweden                fax: +46-31-165655

--------------
lips>     
lips> hugs TestImport.hs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-1999
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Report bugs to: [EMAIL PROTECTED]
||   || Version: November 1999  _________________________________________

Haskell 98 mode: Restart with command line option -98 to enable extensions

Reading file "/usr/pd/share/hugs/lib/Prelude.hs":
Reading file "TestImport.hs":
Reading file "/usr/pd/share/hugs/lib/hugs/Trace.hs":
Reading file "TestImport.hs":
Type :? for help   
TestImport> main
"x"
 :: IO ()
(47 reductions, 95 cells)
TestImport> [Leaving Hugs]
lips> runhugs TestImport.hs
runhugs: lookupName: invalid module


lips> uname -a
SunOS lips.cs.chalmers.se 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-4


Reply via email to