car cdr cons from little LISPer
1 2 (define cons 3 (lambda (u v) 4 (lambda (b) 5 (cond (b u) 6 (#t v))))) 7 (define lunch (cons 'apple '())) 8 (define car (lambda (l) (l #t))) 9 (define cdr (lambda (l) (l #f))) 10 11
13495 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
1 2 (define cons 3 (lambda (u v) 4 (lambda (b) 5 (cond (b u) 6 (#t v))))) 7 (define lunch (cons 'apple '())) 8 (define car (lambda (l) (l #t))) 9 (define cdr (lambda (l) (l #f))) 10 11