Permalink
Browse files

Add 2_53 and 2_55

  • Loading branch information...
1 parent ffcc2ef commit a22f293ac7f8e2d2f30ba75dd83fc4d2135471b0 @fastred committed Dec 30, 2012
Showing with 24 additions and 0 deletions.
  1. +20 −0 2_53.scm
  2. +4 −0 2_55.scm
View
@@ -0,0 +1,20 @@
+(list 'a 'b 'c)
+;(a b c)
+
+(list (list 'george))
+;((george))
+
+(cdr '((x1 x2) (y1 y2)))
+;((y1 y2))
+
+(cadr '((x1 x2) (y1 y2)))
+;(y1 y2)
+
+(pair? (car '(a short list)))
+;#f
+
+(memq 'red '((red shoes) (blue socks)))
+;#f
+
+(memq 'red '(red shoes blue socks))
+;(red shoes blue socks)
View
@@ -0,0 +1,4 @@
+''abracadabra
+; evalutates to:
+; (quote abracadabra)
+; car of this list is equal to 'quote'

0 comments on commit a22f293

Please sign in to comment.