Permalink
Browse files

CLJS-566: Added 1-arity method to partial

  • Loading branch information...
1 parent f677b10 commit 999da27114fd5632d1752c333f92cf6093fccea2 @jonase jonase committed with swannodette Oct 7, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/cljs/cljs/core.cljs
View
@@ -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]

0 comments on commit 999da27

Please sign in to comment.