1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-01-17 13:38:38 +01:00

Merge pull request #3232 from peter-kehl/patch-1

clojure/en Changed a name in a code example to make it British English-friendly
This commit is contained in:
Divay Prakash 2018-10-02 05:07:22 +05:30 committed by GitHub
commit d34e296f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ x ; => 1
; You can also use this shorthand to create functions:
(def hello2 #(str "Hello " %1))
(hello2 "Fanny") ; => "Hello Fanny"
(hello2 "Julie") ; => "Hello Julie"
; You can have multi-variadic functions, too
(defn hello3