Revised numerical prelude, version 0.02

Marcin 'Qrczak' Kowalczyk qrczak@knm.org.pl
14 Feb 2001 05:08:16 GMT


Tue, 13 Feb 2001 18:32:21 -0500, Dylan Thurston <dpt@math.harvard.edu> 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 * qrczak@knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK