Replaced Playground song with Oxford comma

This commit is contained in:
Tom Marble 2015-06-24 14:11:00 -05:00
parent 2a619dbe73
commit 356844ba0a
2 changed files with 7 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,3 +1,4 @@
*~
bin
classes
lib
@ -8,4 +9,3 @@ target
.lein-deps-sum
.lein-plugins
.lein-repl-history

View File

@ -12,16 +12,16 @@
[:foo :bar]))
"Whether in function definitions"
(= (str "First comes love, "
"then comes marriage, "
"then comes Clojure with the baby carriage")
(= (str "An Oxford comma list of apples, "
"oranges, "
"and pears.")
((fn [[a b c]] __)
["love" "marriage" "Clojure"]))
["apples" "oranges" "pears"]))
"Or in let expressions"
(= "Rich Hickey aka The Clojurer aka Go Time aka Macro Killah"
(= "Rich Hickey aka The Clojurer aka Go Time aka Lambda Guru"
(let [[first-name last-name & aliases]
(list "Rich" "Hickey" "The Clojurer" "Go Time" "Macro Killah")]
(list "Rich" "Hickey" "The Clojurer" "Go Time" "Lambda Guru")]
__))
"You can regain the full argument if you like arguing"