Skip to content

Commit 999da27

Browse files
jonaseswannodette
authored andcommitted
CLJS-566: Added 1-arity method to partial
1 parent f677b10 commit 999da27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cljs/cljs/core.cljs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2597,6 +2597,7 @@ reduces them without incurring seq initialization"
25972597
"Takes a function f and fewer than the normal arguments to f, and
25982598
returns a fn that takes a variable number of additional args. When
25992599
called, the returned function calls f with args + additional args."
2600+
([f] f)
26002601
([f arg1]
26012602
(fn [& args] (apply f arg1 args)))
26022603
([f arg1 arg2]

0 commit comments

Comments
 (0)