• simonpj's avatar
    [project @ 1999-01-28 09:19:57 by simonpj] · b70e2f94
    simonpj authored
    Always inline nullary constructors.  This makes a 
    difference in:
    
    	case x ># y of r {
    	  True  -> f1 r
    	  False -> f2 r
     	}
    
    The code generator currently has difficulty binding "r"
    to the boolean result of the comparision (and the compiler
    crashes).  This fix substitutes for r, thus:
    
    	case x ># y of r {
    	  True  -> f1 True
    	  False -> f2 False
     	}
    
    Voila.
    b70e2f94
MkIface.lhs 19.6 KB