Alleged WinTel v4.03 bugs?

1999-08-28 Thread Alex Ferguson
Two oddities I've noticed with ghc-4.03, win+cygnus binary build: The -ansi flag makes gcc go berserk on the generated code. I stopped. 'getEnv "PATH"' returns, not the value of PATH, but the whole environment. Which is also handy, but not what I understood the report to specify, and not wha

Re: Windows NT installer works.

1999-08-28 Thread Alex Ferguson
Mircea Draghicescu: > The other question still remains: is this 4.03 or 4.04? Having recently dl'd the same thing, looks a lot like ghc-4.03 to me... I presume there's not a binary build for 4.04 (at least, not yet).

toInt and fromInt predefined

1999-08-28 Thread Manuel M. T. Chakravarty
Both GHC 4.04 and Hugs 98 agree on violating the Haskell 98 definition by including `fromInt' into `Num' and `toInt' into `Integral'. GHC's `Prelude.lhs' says in the export list Num((+), (-), (*), negate, abs, signum, fromInteger, fromInt{-glaExt-}), [...] Integral(quot, rem, div, mod,

Re: toInt and fromInt predefined

1999-08-28 Thread Alastair Reid
> If `fromInt' is necessary as an extension, I believe, it shouldn't > appear unless -fglasgow-exts is specified. Assuming that GHC includes an appropriate default implementation for fromInt (via fromInteger), does it make any difference? Alastair