[project @ 2000-10-05 22:50:18 by andy]
authorandy <unknown>
Thu, 5 Oct 2000 22:50:18 +0000 (22:50 +0000)
committerandy <unknown>
Thu, 5 Oct 2000 22:50:18 +0000 (22:50 +0000)
commit31d1c24e7e3908663f27a743a379d649d56fda2f
tree3aa7556ac9142f21c0556b5a2f1721091bd489cf
parentaffb35783b63469c6205c36651ee752ce936bb6d
[project @ 2000-10-05 22:50:18 by andy]
Fixing the order that labeled fields appear in datatypes. Currently
they are reversed, which breaks the prelude badly.

[From Haskell report:

The arguments to the positional constructor occur in the same order as the labeled fields. For example, the declaration

  data C = F { f1,f2 :: Int, f3 :: Bool}

defines a type and constructor identical to the one produced by

  data C = F Int Int Bool

]
ghc/compiler/parser/Parser.y