RFC: general sequences

Bulat Ziganshin bulatz at HotPOP.com
Tue May 24 02:36:32 EDT 2005

Hello Ross,

Tuesday, May 24, 2005, 4:00:20 AM, you wrote:

RP> This can't be fixed by adding a new class.  We can't change the type of
RP> Prelude.length, and that includes generalizing it.  The only alterative
RP> to hiding/qualification is to give our functions different names.

of course there is old trick:

import Prelude (IO)
import FancyNewPrelude


import Prelude hiding (length,head...)
import GeneralContainer

we already have old-style `catch` in Prelude which must be hided when
importing Concureent.Exception, so this usage of "import Prelude..."
will be not new

Best regards,
 Bulat                            mailto:bulatz at HotPOP.com

More information about the Libraries mailing list