I attach a set of Haskell files which compile fine with ghc (make kcm or
make motkcm) but Hugs failed to load them.
It incorrectly complains about an known function in the export list.

Is this a bug? Is there a workaround?

This is stopping me from working with Hugs :-(

Satnam

satnam@lagavulin> !h
hugs -c100 -98 KCMMain.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
_________________________________________

Hugs mode: Restart with command line option +98 for Haskell 98 mode

Reading file "/home/satnam/share/hugs/lib/Prelude.hs":
Reading file "KCMMain.hs":
Reading file "Lava.hs":
Reading file "LavaClasses.hs":
Reading file "Tile.hs":
Reading file "Gates.hs":
Reading file "TypeExpr.hs":
Reading file "Gates.hs":
Reading file "/home/satnam/share/hugs/lib/Array.hs":
Reading file "/home/satnam/share/hugs/lib/Ix.hs":
Reading file "/home/satnam/share/hugs/lib/List.hs":
Reading file "/home/satnam/share/hugs/lib/Maybe.hs":
Reading file "/home/satnam/share/hugs/lib/List.hs":
Reading file "/home/satnam/share/hugs/lib/Array.hs":
Reading file "Utils.hs":
Reading file "/home/satnam/share/hugs/lib/Char.hs":
Reading file "Utils.hs":
Reading file "Tile.hs":
Reading file "BitOps.hs":
Reading file "LavaClasses.hs":
Reading file "Combinators.hs":
Reading file "/home/satnam/share/hugs/lib/exts/IOExts.hs":
Reading file "/home/satnam/share/hugs/lib/hugs/Trace.hs":
Reading file "/home/satnam/share/hugs/lib/IO.hs":
Reading file "/home/satnam/share/hugs/lib/exts/IOExts.hs":
Reading file "Combinators.hs":
Reading file "Netlist.hs":
Reading file "/home/satnam/share/hugs/lib/exts/LazyST.hs":
Reading file "/home/satnam/share/hugs/lib/Monad.hs":
Reading file "/home/satnam/share/hugs/lib/exts/LazyST.hs":
Reading file "Netlist.hs":
Reading file "VirtexNetlist.hs":
Reading file "LUTs.hs":
Reading file "BitVec.hs":
Reading file "VirtexNetlist.hs":
Reading file "Symbolic.hs":
Reading file "Testing.hs":
Reading file "Lava.hs":
Reading file "Virtex.hs":
Reading file "VirtexGates.hs":
Reading file "Simulation.hs":
Reading file "VHDL.hs":
Reading file "EDIF.hs":
Reading file "HexUtils.hs":
Reading file "RPM.hs":
Reading file "EDIF.hs":
Reading file "Verilog.hs":
Reading file "VHDL.hs":
Reading file "Virtex.hs":
Reading file "VirtexLib.hs":
Reading file "RippleAdder.hs":
Reading file "Registers.hs":
Reading file "RippleAdder.hs":
Reading file "AdderTree.hs":
Reading file "LUTROM.hs":
Reading file "VirtexLib.hs":
Reading file "SplitMultiplier.hs":
Reading file "KCMUtils.hs":
Reading file "SplitMultiplier.hs":
ERROR "SplitMultiplier.hs": Unknown entity "combinationalKCM" exported
from module "SplitMultiplier"
KCMUtils>

lava.tar

begin:vcard 
n:Singh;Satnam
tel;pager:[EMAIL PROTECTED]
tel;cell:(408) 718 2588
tel;fax:(208) 293-9440
tel;home:(408) 377 9982
tel;work:(408) 879 4693
x-mozilla-html:TRUE
org:<br><img src="http://www.xilinx.com/images/xlogoc.gif" alt="Xilinx">
adr:;;2100 Logic Drive;San Jose;CA;95124-3450;USA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Staff Engineer
x-mozilla-cpt:;-27712
fn:Satnam Singh
end:vcard

Reply via email to