Question: Consider function consR which creates a new list with its arguments by places an element to the right of a list, just as function cons
(a) Provide a recursive computable function definition for consR(L, e) (in mathematical notation).
(b) Translate the above definition into function consr(lst elt). Do not use append or list.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
