As patterns in pattern synonyms (#94), Recommendation: accept

Dear Committee, this is your secretary speaking: As patterns in pattern synonyms, by Richard. https://github.com/ghc-proposals/ghc-proposals/pull/94 rendered at https://github.com/ghc-proposals/ghc-proposals/blob/as-pattern-synonyms/AsPa... I’ll shepherd that myself. This proposal removes restrictions on what can be used in unidirectional pattern synonyms, where @-pattern were previously disallowed. The restriction would make sense if patterns synonyms are macros, but they are not. I am always in favor of removing special cases and restrictions, so I recommend to accept this proposal. Thanks, Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/

On Feb 27, 2018, at 9:19 AM, Joachim Breitner
wrote: As patterns in pattern synonyms, by Richard. https://github.com/ghc-proposals/ghc-proposals/pull/94 https://github.com/ghc-proposals/ghc-proposals/pull/94
I've written lots of proposals, but just to correct the record here, this one's by Simon PJ. :) Yes, I'm happy to accept. Richard

Hi, Am Dienstag, den 27.02.2018, 09:36 -0500 schrieb Richard Eisenberg:
I've written lots of proposals, but just to correct the record here, this one's by Simon PJ. :)
yeah, the dangers of copy’n’paste – I guess it is time I script the “please review” and “recommendation” mails. But hey, at least I can check if y’all are paying attention! Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/

+1
Am 28.02.2018 um 01:19 schrieb Joachim Breitner
: Dear Committee,
this is your secretary speaking:
As patterns in pattern synonyms, by Richard. https://github.com/ghc-proposals/ghc-proposals/pull/94 rendered at https://github.com/ghc-proposals/ghc-proposals/blob/as-pattern-synonyms/AsPa...
I’ll shepherd that myself.
This proposal removes restrictions on what can be used in unidirectional pattern synonyms, where @-pattern were previously disallowed. The restriction would make sense if patterns synonyms are macros, but they are not. I am always in favor of removing special cases and restrictions, so I recommend to accept this proposal.
Thanks, Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/ _______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee

Looks good to me.
On 27 February 2018 at 14:19, Joachim Breitner
Dear Committee,
this is your secretary speaking:
As patterns in pattern synonyms, by Richard. https://github.com/ghc-proposals/ghc-proposals/pull/94 rendered at https://github.com/ghc-proposals/ghc-proposals/blob/as-pattern-synonyms/ AsPatternSynonyms.rst
I’ll shepherd that myself.
This proposal removes restrictions on what can be used in unidirectional pattern synonyms, where @-pattern were previously disallowed. The restriction would make sense if patterns synonyms are macros, but they are not. I am always in favor of removing special cases and restrictions, so I recommend to accept this proposal.
Thanks, Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/
_______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee

Hi, I declare consensus; accepted, Joachim Am Mittwoch, den 28.02.2018, 09:25 +0000 schrieb Simon Marlow:
Looks good to me.
On 27 February 2018 at 14:19, Joachim Breitner
wrote: Dear Committee,
this is your secretary speaking:
As patterns in pattern synonyms, by Richard. https://github.com/ghc-proposals/ghc-proposals/pull/94 rendered at https://github.com/ghc-proposals/ghc-proposals/blob/as-pattern-synonyms/AsPa...
I’ll shepherd that myself.
This proposal removes restrictions on what can be used in unidirectional pattern synonyms, where @-pattern were previously disallowed. The restriction would make sense if patterns synonyms are macros, but they are not. I am always in favor of removing special cases and restrictions, so I recommend to accept this proposal.
Thanks, Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/
_______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee
_______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/

Thanks. It's implemented in this patch
Simon
commit 411a97e2c0083529b4259d0cad8f453bae110dee
Author: Simon Peyton Jones
participants (5)
-
Joachim Breitner
-
Manuel M T Chakravarty
-
Richard Eisenberg
-
Simon Marlow
-
Simon Peyton Jones