University of Washington • CSE583 • D. Notkin © 2000
43
map2
l(map2 + ‘(3 4 5) ‘(6 7 8)) ® (9 11 13)
l(map2 list ‘(98195 15213)
           ‘(“Seattle” “Pittsburgh”))
® ((98195 “Seattle”) (15213 “Pittsburgh”))
lThe resulting list is always of the same length as the first list argument
–Why?  (Note: I haven’t provided enough information.)
–What if the first and second list are of different lengths?
•(map2 + ‘(3 4 5) ‘(6 7 8 9)) ® ???
•(map2 + ‘(3 4 5 6) ‘(6 7 8)) ® ???