Question: 6. (20 Points) Write a lisp function (square-list L) that squares all the integer members in a list L and return the result. '(1
6. (20 Points) Write a lisp function (square-list L) that squares all the integer members in a list L and return the result. '(1 2 3 4 5)) '()) '(4 4 4)) > (square-list (1 4 9 16 25) > (square-list NIL > (square-list (16 16 16)
Step by Step Solution
3.41 Rating (148 Votes )
There are 3 Steps involved in it
Certainly Heres a Lisp function called squarelist L that squares all ... View full answer
Get step-by-step solutions from verified subject matter experts
