Revised numerical prelude, version 0.02

Marcin 'Qrczak' Kowalczyk [email protected]
14 Feb 2001 05:08:16 GMT


Tue, 13 Feb 2001 18:32:21 -0500, Dylan Thurston <[email protected]> pisze:

>   I'd like to copy this over to this revised library.  But the numeric
>   constants have to be wrapped in explicit calls to fromInteger.

ghc's docs (the CVS version) say that -fno-implicit-prelude causes
numeric literals to use whatever fromInteger is in scope. AFAIR it
worked at some time, but it does not work anymore!

BTW, why not let 'import MyPrelude as Prelude' work that way?

-- 
 __("<  Marcin Kowalczyk * [email protected] http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK