Summary

srfi-42: append-ec fails when apply limit is reached

Metadata

Attachments

Description

Which causes simple operations like this to fail:

 
 (append-ec (: i 10000)
            (list i i))

Attached is a patch that fixes this issue.

This issue is also present in string-append-ec, but a similar, reasonably efficient fix would involve adding a dependancy of some sort. Probably the easiest way would be to use srfi-13 and replace (apply string-append ...) with (string-concatenate ...)

Changes and comments

[2014-12-17 20:28:20 UTC] acharlton attached srfi-42-append-ec.patch (description=#f)

[2015-08-27 09:23:13 UTC] sjamaan wrote:

Should be fixed with #1098, but the attached patch might also do the trick. Ivan, can you take a look at the patch?

[2015-08-27 18:35:16 UTC] iraikov changed status from new to closed

[2015-08-27 18:35:16 UTC] iraikov set resolution to fixed

[2015-08-27 18:35:16 UTC] iraikov wrote:

It looks like I had applied the patch and made a new release back in December, but I had forgotten to close this ticket.