6bf3ae7ae6ad
Fix parameter name
| author | Steve Losh <steve@stevelosh.com> | 
|---|---|
| date | Tue, 23 Aug 2016 01:23:55 +0000 | 
| parents | 0d0a740ed42e | 
| children | 0221e1d8de22 | 
| branches/tags | (none) | 
| files | losh.lisp | 
Changes
--- a/losh.lisp Tue Aug 23 01:23:06 2016 +0000 +++ b/losh.lisp Tue Aug 23 01:23:55 2016 +0000 @@ -169,7 +169,7 @@ ;;;; Functions -(defun juxt (&rest fns) +(defun juxt (&rest functions) "Return a function that will juxtapose the results of `functions`. This is like Clojure's `juxt`. Given functions `(f0 f1 ... fn)`, this will @@ -183,7 +183,7 @@ " (lambda (&rest args) - (mapcar (rcurry #'apply args) fns))) + (mapcar (rcurry #'apply args) functions))) (defun nullary (function &optional result) "Return a new function that acts as a nullary-patched version of `function`.