Package: curry 0.1.1

curry: Partial Function Application and Currying with %<%, %-<%, %><%, and %<!%

Partial application is the process of reducing the arity of a function by fixing one or more arguments, thus creating a new function lacking the fixed arguments. The curry package provides three different ways of performing partial function application by fixing arguments from either end of the argument list (currying and tail currying) or by fixing multiple named arguments (partial application). This package provides this functionality through the %<%, %-<%, and %><% operators which allows for a programming style comparable to modern functional languages. Compared to other implementations such a purrr::partial() the operators in curry composes functions with named arguments, aiding in autocomplete etc.

Authors:Thomas Lin Pedersen

curry_0.1.1.tar.gz
curry_0.1.1.zip(r-4.7)curry_0.1.1.zip(r-4.6)curry_0.1.1.zip(r-4.5)
curry_0.1.1.tgz(r-4.6-any)curry_0.1.1.tgz(r-4.5-any)
curry_0.1.1.tar.gz(r-4.7-any)curry_0.1.1.tar.gz(r-4.6-any)
curry_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
curry/json (API)

# Install 'curry' in R:
install.packages('curry', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/thomasp85/curry/issues

On CRAN:

Conda:

4.64 score 29 stars 30 scripts 342 downloads 10 exports 0 dependencies

Last updated from:e68ed51ec8. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK85
source / vignettesOK138
linux-release-x86_64OK100
macos-release-arm64OK71
macos-oldrel-arm64OK87
windows-develOK64
windows-releaseOK54
windows-oldrelOK70
wasm-releaseOK91

Exports:%-<%%<!%%<?%%<%%><%curryCurrypartialset_defaultstail_curry

Dependencies: