[gambit-list] unquote-splicing silently drops non-list data

Christian Jaeger chrjae at gmail.com
Tue Dec 15 22:44:12 EST 2009


Gambit's unquote-splicing ignores the end of improper lists (when
splicing into the middle of a list):

> `(hello ,@"hmm" well)
(hello well)
> `(hello (unquote-splicing '("hmm" . "and")) well)
(hello "hmm" well)

Scheme-48 and Chicken throw an error in this case. Is there a reason
an error should not be thrown?

Christian.



More information about the Gambit-list mailing list