For a list containing elements as follows, there are no problems using the higher-order functions to find the maximum:
((12) (67) (9))
But I am having problems for lists accompanied by a symbol, as shown below:
((john 23) (paul 87) (tom 76))
How can I make sure that the folding is done only on the cdr of the sublists?


Sign In
Create Account

Back to top









