arc> (fn (name . args) args)
#<procedure>
arc> ((fn (name . args) args) 'a 'b 'c)
(b c)
arc> `(fn (name . args) args)
Error: "map: expects type <proper list> as 2nd argument, given: (name . args); other arguments were: #<procedure:...v352/arc0/ac.scm:167:14>" It appears that the "." character breaks quasiquotation. An implication of this is that macros cannot define functions that take a variable number of arguments. Is there a way around this? Thoughts on how to fix? Thanks. |