mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-25 16:23:37 +03:00
Merge pull request #888 from swapnilmj/patch-1
Changed function name to match function call
This commit is contained in:
commit
fe856e7117
@ -83,7 +83,7 @@ True ; => True
|
|||||||
(greet "bilbo") ;=> "hello bilbo"
|
(greet "bilbo") ;=> "hello bilbo"
|
||||||
|
|
||||||
; functions can take optional arguments as well as keyword arguments
|
; functions can take optional arguments as well as keyword arguments
|
||||||
(defn foolist [arg1 &optional [arg2 2]]
|
(defn foolists [arg1 &optional [arg2 2]]
|
||||||
[arg1 arg2])
|
[arg1 arg2])
|
||||||
|
|
||||||
(foolists 3) ;=> [3 2]
|
(foolists 3) ;=> [3 2]
|
||||||
|
Loading…
Reference in New Issue
Block a user