logo       

RE: Less than lovely error message: msg#00022

lang.haskell.glasgow.bugs

Subject: RE: Less than lovely error message

Good idea. Done.

Simion

| -----Original Message-----
| From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-
| bounces@xxxxxxxxxxx] On Behalf Of Jan-Willem Maessen
| Sent: 03 November 2005 15:32
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: Less than lovely error message
|
| Mail still occasionally vanishing into the ether. This has been
| hanging about for a little while now.
|
| -Jan
|
| Begin forwarded message:
|
| > If I mistakenly write a multi-field newtype, the error message
| > which results in 6.4.1 is rather obscure:
| >
| > newtype Empty = E {e :: (IO HT), hfe :: HashFun}
| >
| >
| > HashTest.hs:18:31: parse error on input `,'
| >
| >
| > I'm hoping this wouldn't actually be that difficult to fix to say
| > something like:
| >
| > HashTest.hs:18:31: newtype cannot have multiple fields
| >
| >
| > [I'm writing some QuickCheck tests for Data.HashTable...]
| >
| > -Jan-Willem Maessen
| >
|
| _______________________________________________
| 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