Check out TcRnDriver.tcRnDeclsi. Simon
| -----Original Message----- | From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Dr. | ERDI Gergo | Sent: 13 January 2014 12:49 | To: Austin Seipp | Cc: Joachim Breitner; GHC Devs | Subject: Re: Pattern synonyms for 7.8? | | On Thu, 9 Jan 2014, Austin Seipp wrote: | | > 1) As Richard pointed out, the docs are under docs/users_guide, as | > well as the release notes. Please feel free to elaborate however you | > want on the feature and the bulletpoint for the release notes. | | Hope to get around to these in the weekend. | | > 2) The failures are indeed a result of your code, in particular: | > | > driver T4437 [bad stdout] (normal) | > generics GenDerivOutput [stderr mismatch] (normal) | > generics GenDerivOutput1_0 [stderr mismatch] (normal) | > generics GenDerivOutput1_1 [stderr mismatch] (normal) | > rename/should_compile T7336 [stderr mismatch] (normal) | | Fixed these. | | > 3) It seems GHCi does not support declaring pattern synonyms at the | > REPL. I'm not sure if it's intentional, but if it goes in like this, | > please be sure to document it in the release notes. We can file a | > ticket later for supporting pattern synonyms at the REPL. | | It's definitely not intentional and I have no idea why it would be so. | Isn't GHCi a fairly thin wrapper around the GHC internals? Is there any | wiki page detailing the differences in GHCi vs GHC code paths? | | Thanks, | Gergo | _______________________________________________ | ghc-devs mailing list | ghc-devs@haskell.org | http://www.haskell.org/mailman/listinfo/ghc-devs _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs