|
RE: slightly incorrect error message: msg#00028lang.haskell.glasgow.bugs
The current HEAD says: Foo.hs:4: Conflicting definitions for `a' In a pattern binding in a pattern guard for the definition of `foo' Which seems better. Simon | -----Original Message----- | From: glasgow-haskell-bugs-admin@xxxxxxxxxxx [mailto:glasgow-haskell-bugs-admin@xxxxxxxxxxx] On | Behalf Of Hal Daume III | Sent: 11 April 2003 16:53 | To: glasgow-haskell-bugs@xxxxxxxxxxx | | 8:51am moussor:ResUsage/ cat > Foo.hs | foo s | | [a,a] <- s = Nothing | 8:52am moussor:ResUsage/ ghc Foo.hs | | Foo.hs:1: No 'main' defined in module Main | | Foo.hs:2: | Conflicting definitions for `a' | In a pattern in 'do' binding | | | should really not mention "do". The last line should probably read "In a | pattern in a guard". | | -- | 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: | RE: Fail to compile 5.04.3 on Solaris, Simon Peyton-Jones |
|---|---|
| Next by Date: | RE: Fail to compile 5.04.3 on Solaris, Josef Svenningsson |
| Previous by Thread: | slightly incorrect error message, Hal Daume III |
| Next by Thread: | [ ghc-Bugs-720878 ] ghci fails on Red Hat 9.0, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |