Pattern synonyms for 7.8?

Dr. ERDI Gergo gergo at erdi.hu
Mon Jan 13 12:48:47 UTC 2014


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


More information about the ghc-devs mailing list