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
> 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/
> 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
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
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
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
> 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
> 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'
| 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
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
10 matches
Mail list logo