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.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'))

Peer review:

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

On CRAN:

4.61 score 30 stars 27 scripts 257 downloads 10 exports 0 dependencies

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

TargetResultDate
Doc / VignettesOKSep 20 2024
R-4.5-winOKSep 20 2024
R-4.5-linuxOKSep 20 2024
R-4.4-winOKSep 20 2024
R-4.4-macOKSep 20 2024
R-4.3-winOKSep 20 2024
R-4.3-macOKSep 20 2024

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

Dependencies: