Utility functions to build java.util.function implementations
Utility functions to build java.util.function implementations
(close-on-complete x opened)
(make-fun f)
Turn a function of one argument into an implementation
of Function
, BiFunction
, Consumer
, and BiConsumer
.
To allow type hinting on the way out, the extending interface
exoscale.vinyl.fn.Functional
is used which extends all
of the above.
Turn a function of one argument into an implementation of `Function`, `BiFunction`, `Consumer`, and `BiConsumer`. To allow type hinting on the way out, the extending interface `exoscale.vinyl.fn.Functional` is used which extends all of the above.
(make-supplier f)
(supplier & fntail)
(when-complete x f)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close