diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-19 11:37:33 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-19 11:37:33 -0800 |
commit | 53b99e0419cb44c7983e41026bf0430deae58940 (patch) | |
tree | 38ca984da391ccfc4c34d7713a049a9ad172bcff /src/scheme/ao_scheme_builtin.c | |
parent | fbe5dc9f215e7014aa8f9d325c1fba939816be03 (diff) |
altos/scheme: (define (foo . bar)) has a pair, not list as card
When defining a lambda with varargs, the args are not a list as the
final element is not a pair or nil. Use pair? instead of list? to
detect this form correctly.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme_builtin.c')
0 files changed, 0 insertions, 0 deletions