ClojureDocs

Nav

Namespaces

core.async
core.logic
data.csv
spec.alpha
tools.build
  • clojure
tools.deps

partial

clojure.core

Available since 1.0 (source) Clojure/JVMClojureScriptbabashka
  • (partial f)
  • (partial f arg1)
  • (partial f arg1 arg2)
  • (partial f arg1 arg2 arg3)
  • (partial f arg1 arg2 arg3 & more)
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.