Skip to content

Commit

Permalink
CLJS-566: Added 1-arity method to partial
Browse files Browse the repository at this point in the history
  • Loading branch information
jonase authored and swannodette committed Oct 8, 2013
1 parent f677b10 commit 999da27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cljs/cljs/core.cljs
Expand Up @@ -2597,6 +2597,7 @@ reduces them without incurring seq initialization"
"Takes a function f and fewer than the normal arguments to f, and
returns a fn that takes a variable number of additional args. When
called, the returned function calls f with args + additional args."
([f] f)
([f arg1]
(fn [& args] (apply f arg1 args)))
([f arg1 arg2]
Expand Down

0 comments on commit 999da27

Please sign in to comment.