I have attached a patch - but I had to use darcs record --no-test as I was getting haddock errors from GridSelect (probably due to jaunty's haddock being old and busted). Sorry about that ...



On Tue, Apr 28, 2009 at 2:40 PM, Don Stewart <dons@galois.com> wrote:
rupa:
> When trying to compile xmonad latest darcs under ghc 6.8.2dfsg1-1ubuntu1
> (jaunty default) I got the following error:
>
> XMonad/Layout/SubLayouts.hs:309:16:
>  Illegal signature in pattern: LayoutMessages
>  Use -XPatternSignatures to permit it
>
> Apparently people using 6.10 do not get this error, which went away when I
> added PatternSignatures to the LANGUAGE pragmas of the modules as suggested in
> IRC.
>
> Just a heads up, I'm not sure what, if anything, should be done here ...

Could you send a patch?

-- Don