[project @ 2002-05-27 15:28:07 by simonpj]
authorsimonpj <unknown>
Mon, 27 May 2002 15:28:09 +0000 (15:28 +0000)
committersimonpj <unknown>
Mon, 27 May 2002 15:28:09 +0000 (15:28 +0000)
commitef2b170c6298b4826d3b56465a3c1438b5be7307
tree29839756768186692560bf37092bf89dc7392bf5
parent4c5db78e8613611919c083d7fd96e69c728b0131
[project @ 2002-05-27 15:28:07 by simonpj]
Allow infix type constructors

This commit adds infix type constructors (but not yet class constructors).
The documentation describes what should be the case.  Lots of tiresome
changes, but nothing exciting.

Allows infix type constructors everwhere a type can occur, and in a data
or type synonym decl.  E.g.

data a :*: b = ....

You can give fixity decls for type constructors, but the fixity decl
applies both to the tycon and the corresponding data con.
16 files changed:
ghc/compiler/basicTypes/BasicTypes.lhs
ghc/compiler/hsSyn/HsTypes.lhs
ghc/compiler/main/BinIface.hs
ghc/compiler/parser/ParseUtil.lhs
ghc/compiler/parser/Parser.y
ghc/compiler/rename/Rename.lhs
ghc/compiler/rename/RnBinds.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnExpr.lhs
ghc/compiler/rename/RnHiFiles.lhs
ghc/compiler/rename/RnHsSyn.lhs
ghc/compiler/rename/RnMonad.lhs
ghc/compiler/rename/RnTypes.lhs
ghc/compiler/typecheck/TcMonoType.lhs
ghc/docs/users_guide/glasgow_exts.sgml
ghc/docs/users_guide/intro.sgml