
Claus is right. The bug is in the error message. I'll push a fix. S | -----Original Message----- | From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users-bounces@haskell.org] On | Behalf Of Claus Reinke | Sent: 19 September 2007 14:57 | To: Bas van Dijk; Simon Peyton-Jones | Cc: glasgow-haskell-users@haskell.org | 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 | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users