I have enclosed below a test file that causes an error that puzzles
me. Both GHC and Hugs kick it out, so at least they agree; however, I
must admit that I don't understand it.
Yes, it is a bit confusing, and it took me a few minutes
to see what is going on.
Here's your problem:
data
Simon:
Thanks a million; that's just what I needed.
Yes, I know the context on the type doesn't do anything. I just got
in the habit of putting them in when I thought they did, and I haven't
trained myself out of it yet. It seems useful documentation, if
nothing else; however, if Standard
I have enclosed below a test file that causes an error that puzzles
me. Both GHC and Hugs kick it out, so at least they agree; however, I
must admit that I don't understand it.
GHC gives the following error:
test.hs:1: Ambiguous context `{Physical taZ0}'
`Physical taZ0' arising