patch applied (packages/mtl): Warning police: Avoid re-exporting things via different paths

Sven Panne Sven.Panne at aedion.de
Wed Feb 7 09:30:48 EST 2007


Wed Feb  7 06:23:11 PST 2007  sven.panne at aedion.de
  * Warning police: Avoid re-exporting things via different paths
  
  The modules in the mtl packages contain a lot of convenience re-exports, which
  lead to a large number of warnings for Control.Monad.RWS. There are basically
  3 ways to fix that:
  
     a) via hiding, leading to an epic "hiding ( ... )" clause
  
     b) via explicitly listing things which should be re-exported
  
     c) via refactoring the modules into convenience/implementation modules
  
  Although c) would probably be the right solution in the long run, this patch
  uses b), because it is the least intrusive way.

    M ./Control/Monad/RWS.hs -3 +18


More information about the Cvs-libraries mailing list