Skip to content
Snippets Groups Projects
Commit 0666c3bb authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

[project @ 2000-04-21 14:40:48 by simonpj]

Remove a way to make the simplifier go into an
infinite loop.   This has been there for some weeks;
and George's UniForm tickled it.  I'm amazed nothing
else has done so.  I'll add a test.

The bad case happened when you go

	let xs = 1:xs
	in
	foldr k z xs

Then we kept firing the foldr/cons rule.

Solution: we don't attach an unfolding *at all* to
loop breakers (Simplify.completeBinding)
parent 7166525e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment