
On 2015-01-27 at 17:31:39 +0100, Erik Hesselink wrote: [...]
The only thing I can think of is to generalize Data.List when generalizing the prelude, but also introduce e.g. Data.List.Mono which has all the monomorphic variants.
I moved the original `Data.List` into `Data.OldList` early on during the refactoring, and it was exposed for some time to allow packages like haskell98/2010 to re-export the list-specialised versions. However, since the haskell98/2010 packages were dropped from GHC 7.10 (as implementing for swapping out the prelude would have required more effort to do properly), `Data.OldList` was hidden from `base`. We could still expose it again as `Data.List.Mono` (or some other name) if it helps anybody. For details see also http://git.haskell.org/ghc.git/commitdiff/e888b943396c21db74ba2fc69bf3a89e24... -- hvr