When I run the attached code using `csi -s apply-error.scm`, I get this error (no newline, Thunderbird is forcibly wrapping it :-/):

csi: runtime.c:2802: C_save_and_reclaim: Assertion `C_temporary_stack >= C_temporary_stack_limit' failed.

Notice that the first line, using (+) with (apply) works fine, while (string-append) doesn't.

I'm using CHICKEN version 4.11.0 on Arch Linux.

Output of `uname -srm`:

Linux 4.6.4-1-ARCH x86_64

--
Regards,
Samadi van Koten
(use srfi-1)

;; Apply a ridiculously long list
(apply + (make-list 100000 1)) ;; Works
(apply string-append (make-list 100000 "1")) ;; Doesn't
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to