mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Changed function name to match function call
This commit is contained in:
parent
cb2e6b6f99
commit
12e01249b3
@ -83,7 +83,7 @@ True ; => True
|
||||
(greet "bilbo") ;=> "hello bilbo"
|
||||
|
||||
; functions can take optional arguments as well as keyword arguments
|
||||
(defn foolist [arg1 &optional [arg2 2]]
|
||||
(defn foolists [arg1 &optional [arg2 2]]
|
||||
[arg1 arg2])
|
||||
|
||||
(foolists 3) ;=> [3 2]
|
||||
|
Loading…
Reference in New Issue
Block a user