Claus is right. The bug is in the error message.  I'll push a fix.

S

| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
| Behalf Of Claus Reinke
| Sent: 19 September 2007 14:57
| To: Bas van Dijk; Simon Peyton-Jones
| Cc: [email protected]
| Subject: Re: Unknown option -XPatternSig used in warning
|
| > Via the command line I get the same problem:
| >
| > $ ghci -XPatternSigs PatternSig.hs
| > GHCi, version 6.7.20070915: http://www.haskell.org/ghc/  :? for help
| > ghc-6.7.20070915: unrecognised flags: -XPatternSigs
| > Usage: For basic information, try the `--help' option.
|
|     $ /cygdrive/c/fptools/ghc/compiler/stage2/ghc-inplace 
--supported-languages | grep Pat
|     PatternGuards
|     PatternSignatures
|     BangPatterns
|     MonoPatBinds
|
| could it be that the error message is incorrect, pointing
| to an abbreviated form?
|
| >   Illegal signature in pattern: a
| >    Use -XPatternSigs to permit it
|
| claus
|
|
| _______________________________________________
| Glasgow-haskell-users mailing list
| [email protected]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to