Subject: Generic compilation warnings...

Simon Peyton-Jones simonpj at microsoft.com
Mon Apr 5 13:01:19 EDT 2004


It should be ignored, but I've fixed it anyway.  Thanks for mentioning
it.

Simon

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org
[mailto:glasgow-haskell-users-
| bounces at haskell.org] On Behalf Of MR K P SCHUPKE
| Sent: 17 February 2004 15:07
| To: glasgow-haskell-users at haskell.org
| Subject: Subject: Generic compilation warnings...
| 
| When deriving Data with all warnings enabled, for example compiling
the
| following line:
| 
| data TestType = TestType Int deriving (Typeable,Data)
| 
| ghc 6.2 gives the following warnings:
| 
|     Warning: Pattern match(es) are non-exhaustive
| 	     In a case alternative:
| 		 Patterns not matched: GHC.Base.I# #x with #x `notElem`
[1#]
| 
| Is there a problem with the 'derived' code, or should this warning be
| ignored?
| 
| 	regards,
| 	Keean Schupke.
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list