You can't fill a literal string; you have to treat it as immutable. On Thu, Jul 12, 2018 at 4:09 PM, Henry Hu <[email protected]> wrote:
> Hello, > > `utf8#string-fill!` isn't working for me. Anyone experiencing this > problem? > > CHICKEN > (c) 2008-2017, The CHICKEN Team > (c) 2000-2007, Felix L. Winkelmann > Version 4.13.0 (rev 68eeaaef) > linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] > compiled 2017-12-11 on yves.more-magic.net (Linux) > > #;1> (use utf8) > #;2> (string-fill! "jj" #\space) > > Error: utf8 trailing char overflow > "" > 1 > > Call history: > > <syntax> (string-fill! "" #\space) > <eval> (string-fill! "" #\space) <-- > > Thanks, > Henry > > _______________________________________________ > Chicken-users mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/chicken-users > >
_______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
