Dropping support for NHC98 and old GHC from containers

The containers package currently includes CPP and Cabal directives intended to support NHC98 and versions of GHC before 7.0. However, our TravisCI script tests only GHC versions 7.0 and above. It is therefore likely that the compatibility code is bit-rotted to some extent. Wren Romano and I are strongly inclined to immediately remove all code intended to support NHC98 or pre-7.0 GHC. If anyone uses any such implementations with the current version of containers, please speak now or forever hold your peace. Thanks, David Feuer

Do it! :)
On Monday, April 25, 2016, David Feuer
The containers package currently includes CPP and Cabal directives intended to support NHC98 and versions of GHC before 7.0. However, our TravisCI script tests only GHC versions 7.0 and above. It is therefore likely that the compatibility code is bit-rotted to some extent. Wren Romano and I are strongly inclined to immediately remove all code intended to support NHC98 or pre-7.0 GHC. If anyone uses any such implementations with the current version of containers, please speak now or forever hold your peace.
Thanks, David Feuer _______________________________________________ Libraries mailing list Libraries@haskell.org javascript:; http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries

We did a similar cleanup pass on base a year or two back.
No objection here.
Code you can't test is kinda hard to maintain forever.
-Edward
On Mon, Apr 25, 2016 at 2:38 PM, David Feuer
The containers package currently includes CPP and Cabal directives intended to support NHC98 and versions of GHC before 7.0. However, our TravisCI script tests only GHC versions 7.0 and above. It is therefore likely that the compatibility code is bit-rotted to some extent. Wren Romano and I are strongly inclined to immediately remove all code intended to support NHC98 or pre-7.0 GHC. If anyone uses any such implementations with the current version of containers, please speak now or forever hold your peace.
Thanks, David Feuer
-- You received this message because you are subscribed to the Google Groups "haskell-core-libraries" group. To unsubscribe from this group and stop receiving emails from it, send an email to haskell-core-libraries+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.

2016-04-26 5:39 GMT+02:00 Edward Kmett
We did a similar cleanup pass on base a year or two back.
No objection here.
If base is not compatible with nhc98 anymore, there's a little point to preserve such compatibility on containers. Still, for less fortunate operative systems, it would be nice to have somewhere a list of modules/version actually compatible with Haskell 98. Also, for future reference, it would be nice if such change is introduced as a single-change version, so that we know it doesn't introduce or remove any other functionality except the compatibility.
Code you can't test is kinda hard to maintain forever.
I wonder what can prevent code to be tested with a different compiler... Giacomo
participants (4)
-
Carter Schonwald
-
David Feuer
-
Edward Kmett
-
Giacomo Tesio