Permalink
Browse files

Add 2_04

  • Loading branch information...
1 parent 683069d commit ea025aaa850f52d61c899425c620933c4d11fdd4 @fastred committed Dec 29, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 2_04.scm
View
@@ -0,0 +1,9 @@
+(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)))
+

0 comments on commit ea025aa

Please sign in to comment.