[gambit-list] silex string-append problem
Sascha Ziemann
ceving at gmail.com
Sat Jan 14 07:34:07 EST 2012
2012/1/13 Marc Feeley <feeley at iro.umontreal.ca>:
>
>> *** ERROR IN out-print-table-data, "silex/silex.scm"@4774.13 -- Number
>> of arguments exceeds implementation limit
>> (string-append
>
> Just replace (apply string-append x) with (append-strings x).
>
Thanks! This fixes the problem without the need to patch silex:
(cond-expand
(gambit
(define %apply apply)
(define-syntax apply
(syntax-rules (string-append)
((_ string-append list)
(append-strings list))
((_ func list)
(%apply func list)))))
(else #f))
More information about the Gambit-list
mailing list