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.5)curry_0.1.1.zip(r-4.4)curry_0.1.1.zip(r-4.3)
curry_0.1.1.tgz(r-4.5-any)curry_0.1.1.tgz(r-4.4-any)curry_0.1.1.tgz(r-4.3-any)
curry_0.1.1.tar.gz(r-4.5-noble)curry_0.1.1.tar.gz(r-4.4-noble)
curry_0.1.1.tgz(r-4.4-emscripten)curry_0.1.1.tgz(r-4.3-emscripten)
curry.pdf |curry.html
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.61 score 30 stars 27 scripts 226 downloads 10 exports 0 dependencies

Last updated 8 years agofrom:e68ed51ec8. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 20 2025
R-4.5-winOKFeb 20 2025
R-4.5-macOKFeb 20 2025
R-4.5-linuxOKFeb 20 2025
R-4.4-winOKFeb 20 2025
R-4.4-macOKFeb 20 2025
R-4.3-winOKFeb 20 2025
R-4.3-macOKFeb 20 2025

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

Dependencies: