Re: GHC/Hugs Extension Library lacks Functor (ST s)

1998-03-19 Thread Sigbjorn Finne
Patrik Jansson writes: > [In ghc-2.10 and ghc-3.01] > > The ghc version of the ST module > > ghc/lib/exts/ST.lhs > > makes (ST s) a Monad but not a Functor. > > In hugs 1.4 February it is both a Monad and a Functor. > ST should be an instance in Functor. Will fix for the next version - t

GHC/Hugs Extension Library lacks Functor (ST s)

1998-03-19 Thread Patrik Jansson
[In ghc-2.10 and ghc-3.01] The ghc version of the ST module ghc/lib/exts/ST.lhs makes (ST s) a Monad but not a Functor. In hugs 1.4 February it is both a Monad and a Functor. I don't know where to look for a formal definition for these extension libraries, but I think hugs is right and that

Re: MultiParam Type Classes: ambiguity bug

1998-03-19 Thread Simon L Peyton Jones
> Ambiguous uses of multi-param type classes are sometimes silently turned > into Void instances, instead of giving an error message. Great bug report: brief, precise, and with a short program demonstrating the problem. Thank you. The difficulty was with functions like this: f :: foral

Profiling on HP-UX broken

1998-03-19 Thread Sven Panne
Compiling with -prof doesn't work on HPs (HP-UX 10.20): -- Main.hs -- main = return () - panne@rimatara: > ghc-3.01 -prof Main.hs ghc-3.01: module version changed to 1; reason: no old .hi file collect2: ld returned 1 exit status /usr/bin/ld: Internal Error 4012 (inval