[Haskell-cafe] Build regressions due to GHC 7.6

Richard O'Keefe ok at cs.otago.ac.nz
Thu Aug 30 10:17:37 CEST 2012


On 30/08/2012, at 5:26 PM, Bryan O'Sullivan wrote:
> The reasons for these problems fall into three bins:
> 	• Prelude no longer exports catch, so a lot of "import Prelude hiding (catch)" had to change.

This could have been avoided if

	import <module> hiding (<importables>)

were interpreted simply as a requiring that the specified <importables>
not be imported *whether they could have been or not* rather than as
requiring that they exist to be sneered at.  It seems rather odd that
the removable of something that a module insists it doesn't want should
break that module.





More information about the Haskell-Cafe mailing list