Use of lambda for cons/car/cdr definition in SICP
问题 I was just beginning to feel I had a vague understanding of the use of lambda in racket and scheme when I came across the following \'alternate\' definitions for cons and car in SICP (define (cons x y) (lambda (m) (m x y))) (define (car z) (z (lambda (p q) p))) (define (cdr z) (z (lambda (p q) q))) For the life of me I just cannot parse them. Can anybody explain how to parse or expand these in a way that makes sense for total neophytes? 回答1: This is an interesting way to represent data: as