[Haskell] GADTs are not nice to me ;-)

Wolfgang Jeltsch wolfgang at jeltsch.net
Tue Jul 4 14:54:38 EDT 2006


Am Dienstag, 4. Juli 2006 19:54 schrieb Chris Kuklewicz:
> I am using ghc-6.4.2 from darwinports on OS X 10.4.7
>
> Can I help confirm / test this with something test cases?

Sorry, I don't really understand what you mean.  You already told us the 
following:

> I cut and pasted your code [i.e., the example code of my first e-mail
> concerning this topic] into ghci-6.4.2 with -fglasgow-exts and there was no
> error.  And I can (print (showSnd (Pair A True)) and (print (showSnd (Pair B
> 8))) but when I try to compile it with ghc-6.4.2 it complains about the Show
> instance.  I find this deeply wierd, and it seems like a bug.

Simon, don't you experience the same problems on your machine?  Should this be 
a Mac-only problem?

Best wishes,
Wolfgang


More information about the Haskell mailing list