Question: needs to be done in scheme (15 pts) Implement assoc The idea of an alist (for association list) is fundamental to Scheme/LISP, and is the
needs to be done in scheme
(15 pts) Implement assoc The idea of an alist (for "association list") is fundamental to Scheme/LISP, and is the simplest possible implementation of a dictionary ADT built out of simple cons lists (c.f. map in C+ STL). An alist must be a list of cons pairs, for instance > (define e ' ((a 1) (b 2) (c 3))) The Standard Library procedure assoc has the following form assocobj
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
