Problems with hat-trans and Edison

Stephen Pitts <[email protected]>
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
Hi!
I'm trying to use hat to analyze a program I wrote that uses the Edison 
libraries, but hat is choking on part of Edison. hat-trans on the 
attached file seems to work OK, but ghc barfs when compiling the 
generated output:
Hat/Sequence.hs:1:
     Multiple declarations of `Hat.Sequence.sreverse'
         Hat/Sequence.hs:62
         Hat/Sequence.hs:283

Hat/Sequence.hs:1:
     Multiple declarations of `Hat.Sequence.szip'
         Hat/Sequence.hs:189
         Hat/Sequence.hs:343

Hat/Sequence.hs:1:
     Multiple declarations of `Hat.Sequence.szip3'
         Hat/Sequence.hs:196
         Hat/Sequence.hs:345

Hat/Sequence.hs:1:
     Multiple declarations of `Hat.Sequence.sunzip'
         Hat/Sequence.hs:222
         Hat/Sequence.hs:355

Hat/Sequence.hs:1:
     Multiple declarations of `Hat.Sequence.sunzip3'
         Hat/Sequence.hs:228
         Hat/Sequence.hs:357

I've attached the result of running hat-trans on Sequence.hs as 
Sequence-hat.hs.


--
Stephen Pitts
[email protected]

"This is the planet of Six Billion Dancing Monkeys.  Enjoy it while it 
lasts." -- poster on kuro5hin
Sequence-hat.hs (application/octet-stream, 11.3 KB) - not displayed
Sequence.hs (application/octet-stream, 9.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.