RFC: general sequences
bulatz at HotPOP.com
Tue May 24 02:36:32 EDT 2005
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 Prelude hiding (length,head...)
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
Bulat mailto:bulatz at HotPOP.com
More information about the Libraries