Gmane
From: Simon Peyton Jones <simonpj <at> microsoft.com>
Subject: patch applied (ghc): Make SpecConstr work right for nullary constructors
Newsgroups: gmane.comp.lang.haskell.cvs.ghc
Date: 2006-11-30 02:17:12 GMT (2 years, 31 weeks, 1 day, 9 hours and 21 minutes ago)
Wed Nov 29 11:24:21 PST 2006  simonpj <at> microsoft.com
  * Make SpecConstr work right for nullary constructors

  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.

    M ./compiler/specialise/SpecConstr.lhs -41 +40