[Solved]5 Write Function Substall Takes Three Arguments Atoms New Old List Atoms Builds List Occur Q37167634

5. Write the function substall which takes three arguments: the atoms new and old, and a list of atoms. It builds a list in which all occurrences of old are replaced by new. Examples: (substall ‘fudge ‘fruit ‘(ice cream with fruit and more fruit)) returns (ice cream with fudge and more fudge) Show transcribed image text 5. Write the function substall which takes three arguments: the atoms new and old, and a list of atoms. It builds a list in which all occurrences of old are replaced by new. Examples: (substall ‘fudge ‘fruit ‘(ice cream with fruit and more fruit)) returns (ice cream with fudge and more fudge)
Expert Answer
Answer to 5. Write the function substall which takes three arguments: the atoms new and old, and a list of atoms. It builds a list… . . .
OR

