Is it possible to convert a church numeral to an integer representation without using a language primitive such as add1?
All the examples I've come across use a primitive to dechurch to int
Example:
 plus1 = lambda x: x + 1
 church2int = lambda n: n(plus1)(0)
Example 2:
 (define (church-numeral->int cn)
    ((cn add1) 0))
I'm experimenting with a micro lisp intepretter (using only John McCarthy's 10 rules) and would like to understand if that can be done without adding a primitive.
 
     
    