slightly incorrect error message
Simon Peyton-Jones
simonpj at microsoft.com
Mon Apr 14 09:36:36 EDT 2003
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 at haskell.org
[mailto:glasgow-haskell-bugs-admin at haskell.org] On
| Behalf Of Hal Daume III
| Sent: 11 April 2003 16:53
| To: glasgow-haskell-bugs at haskell.org
|
| 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 at isi.edu
| "Arrest this man, he talks in maths." | www.isi.edu/~hdaume
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list