Question: p Exercise 1.3 [m] Write a function that counts the number of atoms in an expression. For example: ( count - a toms ' (
p Exercise 1.3 [m] Write a function that counts the number of atoms in an expression.
For example: ( count - a toms ' ( a ( b ) c ) ) = 3. Notice that there is something of an ambiguity in this: should ( a n i 1 c ) count as three atoms, or as two, because it is equivalent to ( a ( 1 c ) ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
