
#15988: Remove Text.Printf and System.Console.GetOpt from base -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.6.3 Component: Compiler | Version: 8.6.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by andrewthad): No worries. It's a pretty easy Cabal feature to miss since it's seldom used. Thinking about it more, I've realized that there actually is one small wrinkle to this plan though. Let's say that the original release of `getopt` is version `1.0.0.0`. It could be compatible with `base-4.x`, where `x` is the last time `System.Console.GetOpt` had any public-facing change to the API. If a minor release ever happened that adding anything, however small, to the API (`getopt-1.0.1.0`), this next release would need to drop the whole `module-reexport` clause and all compatibility with versions of `base` less than `4.13` (or whichever `base` the transition happened in). This isn't really a problem since it's no worse than the current situation, but it's worth noting. With the module being in `base`, if a change were made to `System.Console.GetOpt` and someone wrote a library that required the change, they would similarly have to blacklist old versions of `base`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15988#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler