|
RE: bug with definition at top-level:: msg#00052lang.haskell.glasgow.bugs
This embarrassing bug in GHC 6.0 has been reported several times now. There's a good workaround: just say :t GHC.Err.error as your first command in GHCi. Then it'll be happy with your subsequent definition. Simon | -----Original Message----- | From: glasgow-haskell-bugs-admin@xxxxxxxxxxx [mailto:glasgow-haskell-bugs-admin@xxxxxxxxxxx] On | Behalf Of Hal Daume III | Sent: 11 June 2003 23:56 | To: glasgow-haskell-bugs@xxxxxxxxxxx | Subject: bug with definition at top-level: | | 3:54pm moussor:handalign/ ghci | ___ ___ _ | / _ \ /\ /\/ __(_) | / /_\// /_/ / / | | GHC Interactive, version 6.0, for Haskell 98. | / /_\\/ __ / /___| | http://www.haskell.org/ghc/ | \____/\/ /_/\____/|_| Type :? for help. | | Loading package base ... linking ... done. | Loading package lang ... linking ... done. | Prelude> let f s = let (p1:_:p2:_:r1:_:f2:_) = map read (words s) in show | ((2*p1*r1)/(p1+r1)) ++ " & " ++ show ((2*p2*f2)/(p2+f2)) | ghc-6.0: panic! (the `impossible' happened, GHC version 6.0): | getLinkDeps No iface for [<pkg>]GHCziErr | | Please report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx, | or http://sourceforge.net/projects/ghc/. | | | | -- | Hal Daume III | hdaume@xxxxxxx | "Arrest this man, he talks in maths." | www.isi.edu/~hdaume | | _______________________________________________ | Glasgow-haskell-bugs mailing list | Glasgow-haskell-bugs@xxxxxxxxxxx | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | bug with definition at top-level:, Hal Daume III |
|---|---|
| Next by Date: | GHCi bug - the impossible happened loading FranTk with ghc-6.0 on Win32, Guest, Simon |
| Previous by Thread: | bug with definition at top-level:, Hal Daume III |
| Next by Thread: | GHCi bug - the impossible happened loading FranTk with ghc-6.0 on Win32, Guest, Simon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |