Good idea. Done. Simion
| -----Original Message----- | From: [EMAIL PROTECTED] [mailto:glasgow-haskell-bugs- | [EMAIL PROTECTED] On Behalf Of Jan-Willem Maessen | Sent: 03 November 2005 15:32 | To: [email protected] | 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 | [email protected] | http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs _______________________________________________ Glasgow-haskell-bugs mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
