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 bin
classes classes
lib lib
@ -8,4 +9,3 @@ target
.lein-deps-sum .lein-deps-sum
.lein-plugins .lein-plugins
.lein-repl-history .lein-repl-history

View File

@ -12,16 +12,16 @@
[:foo :bar])) [:foo :bar]))
"Whether in function definitions" "Whether in function definitions"
(= (str "First comes love, " (= (str "An Oxford comma list of apples, "
"then comes marriage, " "oranges, "
"then comes Clojure with the baby carriage") "and pears.")
((fn [[a b c]] __) ((fn [[a b c]] __)
["love" "marriage" "Clojure"])) ["apples" "oranges" "pears"]))
"Or in let expressions" "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] (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" "You can regain the full argument if you like arguing"