Skip to content

Add correct fusion rules for scanr. Fix #16943.

Tobias Decking requested to merge (removed):master into master

The old fusion rules for scanr could create an inifinite loop if they involve a fusable, infinite list. This patch changes the strictness of the helper function scanrFB, which was causing these loops.

A comment was added explaining this change.

Merge request reports