1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-01 04:20:39 +02: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

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