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.
| Version: | 0.1.1 |
| Published: | 2016-09-28 |
| DOI: | 10.32614/CRAN.package.curry |
| Author: | Thomas Lin Pedersen |
| Maintainer: | Thomas Lin Pedersen <thomasp85 at gmail.com> |
| BugReports: | https://github.com/thomasp85/curry/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/thomasp85/curry |
| NeedsCompilation: | no |
| Materials: | README |
| CRAN checks: | curry results |
| Reference manual: | curry.html , curry.pdf |
| Package source: | curry_0.1.1.tar.gz |
| Windows binaries: | r-devel: curry_0.1.1.zip, r-release: curry_0.1.1.zip, r-oldrel: curry_0.1.1.zip |
| macOS binaries: | r-release (arm64): curry_0.1.1.tgz, r-oldrel (arm64): curry_0.1.1.tgz, r-release (x86_64): curry_0.1.1.tgz, r-oldrel (x86_64): curry_0.1.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=curry to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.