It is really hard to help you if you don't supply the
context. Which version of GHC? Send the code for Trie.lhs.
etc.
Otherwise we're all guessing.
Simon
| -Original Message-
| From: Hal Daume III [mailto:[EMAIL PROTECTED]]
| Sent: 22 April 2002 23:46
| To: GHC Users Mailing List
|
It happens in Hugs, too, but somewhat differently. Here's a test case.
Go to /foo and do mkdir Bar. In Bar, create IO.hs and make its contents:
module Bar.IO where
then also in Bar create Foo.hs
module Bar.Foo where
import IO
Then when in directory Bar load ghci (using 5.02.1) and
Here is sufficient code, using ghc5.02.1 for solaris:
module Test where
import Util.Binary -- this is the GHC binary distribution
import PrelWord
import Array
newtype Token = Token [Word8]
class TrieKey key where
mkKey :: key - [Word8]
unKey :: [Word8] - key
data Trie key elem =
It happens in Hugs, too, but somewhat differently. Here's a
test case.
Go to /foo and do mkdir Bar. In Bar, create IO.hs and make
its contents:
module Bar.IO where
then also in Bar create Foo.hs
module Bar.Foo where
import IO
Then when in directory Bar load ghci
[copied to original recipients along with the original bug report]
On ghc-bugs, Hal Daume reported problems with Hugs (and ghci) where
importing IO.hs causes a module called Bar.IO (i.e., Bar/IO.hs) to be
loaded - leading to the load to fail.
I've systematically tried every way of invoking