[ANNOUNCE] GHC 8.0.1 release candidate 2

Simon Peyton Jones simonpj at microsoft.com
Tue Feb 16 09:42:47 UTC 2016


I’m all for it.   We could add the new spellings as synonyms of the old ones; and deprecate old ones.  Then drop the old ones after a release cycle or three

Simon

From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Sven Panne
Sent: 16 February 2016 07:01
To: GHC developers <ghc-devs at haskell.org>
Subject: Re: [ANNOUNCE] GHC 8.0.1 release candidate 2

2016-02-16 0:35 GMT+01:00 Matthew Pickering <matthewtpickering at gmail.com<mailto:matthewtpickering at gmail.com>>:
I have renamed it to -Wmissing-pat-syn-signatures.

Hmmm, things are still wildly inconsistent:

   * "pat" is spelled "pattern" in other flags.

   * We still have both "sigs" and "signatures" as parts of the names.

   * Why is "synonyms" too long, but OTOH we have monsters like "-Wnoncanonical-monadfail-instances"?

   * We have both "binds" and "bindings" as parts of the names.

My proposal would be: The -Wfoo option syntax is new, anyway, so let's fix all those inconsistencies in one big sweep before 8.0.1 is out, it only gets harder later. At the moment you need #ifdef magic in the code and "If impl(foo)" in .cabal, anyway, but doing these changes later will only keep this sorry state for longer than necessary. I don't really care if we use abbreviations like "sigs" or not, but whatever we use, we should use it consistently (personally I would prefer the whole words, not the abbreviations).

Cheers,
   S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160216/4b278c73/attachment-0001.html>


More information about the ghc-devs mailing list