Disable form-checking for rule LHSs
authorsimonpj@microsoft.com <unknown>
Wed, 16 Aug 2006 08:56:12 +0000 (08:56 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 16 Aug 2006 08:56:12 +0000 (08:56 +0000)
commit1c36a2c0f4bce8f3754b1b31d66b975c3688b221
tree15f228f06ff85306255d947b5dd77f76ac908d51
parentdfcf88523ec5988fbcaa2cbf812cc5862ad621cf
Disable form-checking for rule LHSs

Previously we checked the form of the arguments of a RULE lhs, to
ensure that they were simple applications. There was no good reason
for that, save to prevent you writing LHSs that were unlikely to match.

And Don Stewart found he wanted to do something we didn't allow (a section,
I think).  So I have just disabled the check.
compiler/rename/RnSource.lhs