Add Data.Version.makeVersion & `IsList Version`
authorHerbert Valerio Riedel <hvr@gnu.org>
Fri, 19 Dec 2014 10:08:09 +0000 (11:08 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Fri, 19 Dec 2014 12:12:50 +0000 (13:12 +0100)
commit5b8fa46ca37caa9ec83b217a697628135da34506
tree88c045a6c084f3958a670a27bf47724251fabc1f
parentcf594fd204f951f849e876cf28f6ac1604184ae7
Add Data.Version.makeVersion & `IsList Version`

These two facilities provide some means to avoid the double-breakage caused by
first by the deprecation (see #2496), and then again by the actual future
field-removal.

See also

  https://groups.google.com/d/msg/haskell-core-libraries/q9H-QlL_gnE/4lbb_mBjre8J

for details about this library addition.

Reviewed By: ekmett

Differential Revision: https://phabricator.haskell.org/D577
libraries/base/Data/Version.hs
libraries/base/GHC/Exts.hs
libraries/base/changelog.md
testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr