SICP – cap. 2 – cosa s’intende per dati? – esercizi – 9

Pubblicata il: 17/02/2017
SICP – cap. 2 – cosa s’intende per dati? – esercizi – 9
Fonte: OKPANICO.WORDPRESS.COM

Oggi qui, continuando da qui. Exercise 2.6: In case representing pairs as procedures wasn’t mind-boggling enough, consider that, in a language that can manipulate procedures, we can get by without numbers (at least insofar as nonnegative integers are concerned) by implementing 0 and the operation of adding 1 as (define zero (lambda (f) (lambda (x) […]

Continua a leggere
Notizie correlate
Commenta
FACEBOOK