p Exercise 1.3 [m] Write a function that counts the number of atoms in an expression. For

Question:

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 ) ?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: