Changed function name to match function call

This commit is contained in:
Swapnil Joshi 2014-12-16 22:33:08 +05:30
parent cb2e6b6f99
commit 12e01249b3

View File

@ -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]