projects
/
sicp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
859437e
)
Added a simple explanation.
author
Ramakrishnan Muthukrishnan
<vu3rdd@gmail.com>
Sat, 4 Sep 2010 03:38:11 +0000
(09:08 +0530)
committer
Ramakrishnan Muthukrishnan
<vu3rdd@gmail.com>
Sat, 4 Sep 2010 03:38:11 +0000
(09:08 +0530)
src/sicp/ex2_55.clj
patch
|
blob
|
history
diff --git
a/src/sicp/ex2_55.clj
b/src/sicp/ex2_55.clj
index f3e70418a0e492faba6f7b18c6d33ada9b25aab2..6bc1d86df8840b72b3fa687a1ea43ae449e8086a 100644
(file)
--- a/
src/sicp/ex2_55.clj
+++ b/
src/sicp/ex2_55.clj
@@
-3,4
+3,10
@@
(deftest test-double-quote
(is [= (first ''abracadabra)
- 'quote]))
\ No newline at end of file
+ 'quote]))
+
+(comment
+ "(first ''abcde) expands to (first (quote (quote (abcde)))
+ which is (quote (abcde)), first of which is quote. The outer
+ quote makes the inner quote a symbol and does not evaluate it."
+ )
\ No newline at end of file