[ghc-steering-committee] Deprecating Exports (#134); Recommendation: accept

Joachim Breitner mail at joachim-breitner.de
Thu May 24 10:23:19 UTC 2018


Hi,

alanasp has proposed a Deprecating Exports mechanism:
https://github.com/alanasp/ghc-proposals/blob/patch-2/proposals/deprecating_exports_proposal.rst

The gist is explained by this:

   module Data.List
   (  ...
       {-# DEPRECATE lines "Exported from Data.String instead" #-}
       , lines
       ...t
   ) where

i.e. DEPRECATE pragmas in export lists cause warning when some other
module uses the deprecated symbol when it is imported (only) via some
deprecated export.

This is a GSOC 2018 project, mentored by Matthew Pickering and Erik de
Castro Lopo.

The feature has a clear use-case, is self-contained and David Feuer
(the containers maintainer) has already confirmed that there is a real
demand for this. I suggest acceptance!


As always, I will understand silence as tactic consensus.

Cheers,
Joachim


-- 
Joachim Breitner
  mail at joachim-breitner.de
  http://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20180524/04c20bd8/attachment.sig>


More information about the ghc-steering-committee mailing list