Make SpecConstr work right for nullary constructors
authorsimonpj@microsoft.com <unknown>
Wed, 29 Nov 2006 19:24:21 +0000 (19:24 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 29 Nov 2006 19:24:21 +0000 (19:24 +0000)
For totally stupid reasons, SpecConstr didn't work for the (particularly
easy) case of nullary constructors like True and False.  I just had some
equations in the wrong order, so that a Var case came first, which
matches a nullary constructor, with the constructor-application case
afterwards.

The fix is easy.  I did a bit of refactoring at the same time.


No differences found