Skip to content
  • Simon Peyton Jones's avatar
    Take 2 on the recursive-rule fix · 805edf6e
    Simon Peyton Jones authored
    This is another attempt to fix the interaction between recursion and
    RULES.  I just had it wrong before!  Now the significance of the
    flag on IAmALoopBreaker is given in BasicTypes
    
      | IAmALoopBreaker	-- Used by the occurrence analyser to mark loop-breakers
    			-- in a group of recursive definitions
    	!RulesOnly	-- True <=> This loop breaker mentions the other binders
    			--	    in its recursive group only in its RULES, not
    			--	    in its rhs
    			--  See OccurAnal Note [RulesOnly]
    805edf6e