[jhc] Strange error message when using Parsec

Dr. ERDI Gergo gergo at erdi.hu
Tue Feb 8 15:52:54 CET 2011


Hi,

I'm trying to use jhc with Parsec. However, while reimplementing some 
Parsec.Token functionality, I've encountered a strange error message. I've 
created a hopefully minimal example (see attached).

The error message for this particular version (using the latest version 
from darcs or the 0.7.7 release):

jhc -flint -p parsec-2.1.0.1 -o parsec-error.jhc parsec-error.hs
jhc 0.7.7 (0.7.7-14)
Finding Dependencies...
Using Ho Cache: '/home/cactus/.jhc/cache'
Main                    [parsec-error.hs]
Typechecking...
[1 of 1] Main             (.............................................)
Compiling...
[1 of 1] Main             <.................................wwwwwwwww........>
Collected Compilation...
-- typeAnalyzeMethods
jhc: Types don't match:(Char, x62470120)


Any ideas what's happening here?

Thanks,
 	Gergo

-- 

   .--= ULLA! =-----------------.
    \     http://gergo.erdi.hu   \
     `---= gergo at erdi.hu =-------'
Actual Headline: Juvenile Court to Try Shooting Defendant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parsec-error.hs
Type: text/x-haskell
Size: 268 bytes
Desc: 
URL: <http://www.haskell.org/pipermail/jhc/attachments/20110208/1d43a550/attachment.hs>


More information about the jhc mailing list