Re: trying to get hat-make to swallow my code
Malcolm Wallace <[email protected]> Thu, 26 Oct 2006 13:20:11 +0100
| Newsgroups | gmane.comp.lang.haskell.hat |
|---|---|
| Organization | Dept of Computer Science, University of York |
| Message-ID | <[email protected]> |
Tom Cooper <[email protected]> wrote: > With some help, I've found a work-around, and made some progress > identifying the problem. My module EHM2Alt.hs imported Array, which > exports Ix, but does not explicitly import Ix itself. EHM2Alt uses > functions (like range) from Ix. The Hat.Array module exports Hat.Ix, > but without an 'as' clause, so the function Hat.Ix.grange is only > seen in Hat.EHM2Alt as Hat.Array.grange, thus the error. The > work-around is for my module to import Ix directly. Is this a bug in > hat? Yes, it could well be a bug in Hat. I will need to study the language definition carefully to be sure. Regards, Malcolm