RE: Path Issues on Windows 2000

2001-09-26 Thread Simon Peyton-Jones
You have to say ghc -package lang if you want to use modules from the "lang" package. See Section 4.10 of the user manual. Simon | -Original Message- | From: Antony Courtney [mailto:[EMAIL PROTECTED]] | Sent: 25 September 2001 22:14 | To: [EMAIL PROTECTED] | Subject: Path Iss

RE: extra_ghc_opts package field in 5.02

2001-09-26 Thread Simon Marlow
> Does the extra_ghc_opts package field work in 5.02 ? > > For I cannot make it work, so far. Yes, I tested it and it works here. Cheers, Simon ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/

Re: Path Issues on Windows 2000

2001-09-26 Thread Reuben Thomas
> I just succesfully installed GHC 5.02 on Windows 2000, and it (basically) > worked. > > However, I have run in to a couple of issues: > > 1 (minor). The last dialog box of the Installer recommended adding "\bin" to my > PATH. This should have been "C:\Program Files\Glasgow Haskell > Compiler

small bug archive enclosed

2001-09-26 Thread S.D.Mechveliani
Dear ghc-5.02-linux-i386-unknown, You cannot load my project of 2 small modules, using package: ghci -package docon B ... Loading package data ... linking ... done. Loading package docon ... linking ... done. Compiling B( B.hs, interpreted ) ghc-5.02: pani

Bug in Time module

2001-09-26 Thread Koen Claessen
Hi, I discovered a bug in the Time module.  If I run the following code snippet: main :: IO () main = do t0 <- getClockTime system "sleep 120" t1 <- getClockTime print (t1 `diffClockTimes` t0) The TimeDiff value has a tdSec field greater than 59, and a tdMin field o

Re: Bug in Time module

2001-09-26 Thread Michael Weber
On Wed, Sep 26, 2001 at 16:21:09 +0200, Koen Claessen wrote: > I discovered a bug in the Time module.  If I run the > following code snippet: Just one? ;) [...] > The TimeDiff value has a tdSec field greater than 59, and a > tdMin field of 0. I guess this is a bug. > > I am running ghc-5.00.2 o

RE: Bug in Time module

2001-09-26 Thread Simon Marlow
> I discovered a bug in the Time module.  If I run the > following code snippet: > > main :: IO () > main = > do t0 <- getClockTime >system "sleep 120" >t1 <- getClockTime >print (t1 `diffClockTimes` t0) > > The TimeDiff value has a tdSec field greater than 59, a

RE: small bug archive enclosed

2001-09-26 Thread Simon Marlow
> You cannot load my project of 2 small modules, using package: > > ghci -package docon B > ... > Loading package data ... linking ... done. > Loading package docon ... linking ... done. > Compiling B( B.hs, interpreted ) > ghc-5.02: panic! (the `impossible'

RE: Bug in Time module

2001-09-26 Thread Koen Claessen
| I'm not sure it's a bug - Haskell 98 doesn't require | that the TimeDiff value returned from diffClockTimes | is normalised in any way, and it can't be done in | general of course because months and years have | different numbers of days, even minutes have different | numbers of seconds i

Re: Path Issues on Windows 2000

2001-09-26 Thread Antony Courtney
Simon Peyton-Jones wrote: > > You have to say > ghc -package lang > if you want to use modules from the "lang" package. > > See Section 4.10 of the user manual. Many thanks to yourself and Reuben for your clarifications; Appologies for my ignorance of ghc. I have now managed to build