Remove some answers.

Signed-off-by: Colin Jones <trptcolin@gmail.com>
This commit is contained in:
Nuno Marques 2010-09-29 02:18:47 +02:00 committed by Colin Jones
parent 03fee3e548
commit 4155a6b8ea
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
(= __ ({2006 "Torino" 2010 "Vancouver" 2014 "Sochi"} 2010))
"You may not be able to find an entry for a key"
(= nil (get {:a 1 :b 2} :c))
(= __ (get {:a 1 :b 2} :c))
"You can find out if a key is present"
(= __ (contains? {:a nil :b nil} :b))

View File

@ -3,10 +3,10 @@
(= __ (.size (vec nil)))
"You can create a vector in two ways"
(= [] (vec nil))
(= __ (vec nil))
"And populate it in either of these ways"
(= [1] (vec '(1)))
(= __ (vec '(1)))
"But you can populate it with any number of elements at once"
(= [1 __] (vec '(1 2)))
@ -15,7 +15,7 @@
(= __ (conj (vec nil) 333))
"You can get the first element of a vector like so"
(= :peanut (first [:peanut :butter :and :jelly]))
(= __ (first [:peanut :butter :and :jelly]))
"And the last in a similar fashion"
(= __ (last [:peanut :butter :and :jelly]))