Use HsTupleTy [] for unit tuples, uniformly
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 23 Dec 2011 16:05:48 +0000 (16:05 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 23 Dec 2011 16:05:48 +0000 (16:05 +0000)
commit416c5903f3b8cf4cdd4a03c8949489df18cd790a
tree7e74353b239558eea334f28f6acfa6adf1941f55
parent8785726b57ccd44c5451385de61913a79fe02eb7
Use HsTupleTy [] for unit tuples, uniformly

This is just a tidy-up triggered by #5719.  We were parsing () as a
type constructor, rather than as a HsTupleTy, but it's better dealt
with uniformly as the former, I think.  Somewhat a matter of taste.
compiler/hsSyn/HsTypes.lhs
compiler/parser/Parser.y.pp
compiler/parser/RdrHsSyn.lhs
compiler/typecheck/TcHsType.lhs