logo       

RE: slightly incorrect error message: msg#00028

lang.haskell.glasgow.bugs

Subject: RE: slightly incorrect error message

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>
Google Custom Search

News | FAQ | advertise