Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CLJS-566: Added 1-arity method to partial

  • Loading branch information...
commit 999da27114fd5632d1752c333f92cf6093fccea2 1 parent f677b10
@jonase jonase authored swannodette committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/cljs/cljs/core.cljs
View
1  src/cljs/cljs/core.cljs
@@ -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]
Please sign in to comment.
Something went wrong with that request. Please try again.