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

Reply via email to