mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Changed a name in a code example to make it British English-friendly
The previous name is considered rude by Brits
This commit is contained in:
parent
b954199e10
commit
61582f6414
@ -150,7 +150,7 @@ x ; => 1
|
|||||||
|
|
||||||
; You can also use this shorthand to create functions:
|
; You can also use this shorthand to create functions:
|
||||||
(def hello2 #(str "Hello " %1))
|
(def hello2 #(str "Hello " %1))
|
||||||
(hello2 "Fanny") ; => "Hello Fanny"
|
(hello2 "Julie") ; => "Hello Julie"
|
||||||
|
|
||||||
; You can have multi-variadic functions, too
|
; You can have multi-variadic functions, too
|
||||||
(defn hello3
|
(defn hello3
|
||||||
|
Loading…
Reference in New Issue
Block a user