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
DESCRIPTION
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.67 score 29 stars 32 scripts 341 downloads 10 exports 0 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK101
source / vignettesOK168
linux-release-x86_64OK104
macos-release-arm64OK101
macos-oldrel-arm64OK123
windows-develOK69
windows-releaseOK70
windows-oldrelOK57
wasm-releaseOK79

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

Dependencies: