Cinolt
2013-03-02 14:24:29 UTC
R5RS specifies that map work with an arbitrary amount of lists, "(map proc
list1 list2 ...)" however I get an error when I try to evaluate:
(map + '(1 2 3) '(1 2 3))
assertion-violation: wrong number of arguments [tail-call]
(#{procedure 8517 map} '(#{procedure 110 +} (1 2 3) (1 2 3)))
list1 list2 ...)" however I get an error when I try to evaluate:
(map + '(1 2 3) '(1 2 3))
assertion-violation: wrong number of arguments [tail-call]
(#{procedure 8517 map} '(#{procedure 110 +} (1 2 3) (1 2 3)))