Avoid strictness in accumulator for unpackFoldr
authorDon Stewart <dons@cse.unsw.edu.au>
Mon, 3 Jul 2006 09:18:06 +0000 (09:18 +0000)
committerDon Stewart <dons@cse.unsw.edu.au>
Mon, 3 Jul 2006 09:18:06 +0000 (09:18 +0000)
The seq on the accumulator for unpackFoldr will break in the presence of
head/build rewrite rules. The empty list case will be forced, producing
an exception. This is a known issue with seq and rewrite rules that we
just stumbled on to.


No differences found