[Solved]8 Write Function Assoc Takes Atom X List Form Created Pair Previous Question Returns Secon Q37167689

8. Write a function assoc that takes an atom x and a list of the form created by pair (in the previous question) and returns the second element of the first list in 1 whose first element is X. Example: (assoc y ‘((x a) (y b) (z c))) returns b. Show transcribed image text 8. Write a function assoc that takes an atom x and a list of the form created by pair (in the previous question) and returns the second element of the first list in 1 whose first element is X. Example: (assoc y ‘((x a) (y b) (z c))) returns b.
Expert Answer
Answer to 8. Write a function assoc that takes an atom x and a list of the form created by pair (in the previous question) and ret… . . .
OR

