Other packages > Find by keyword >

curry  

Partial Function Application with %<%, %-<%, and %><%
View on CRAN: Click here


Download and install curry package within the R console
Install from CRAN:
install.packages("curry")

Install from Github:
library("remotes")
install_github("cran/curry")

Install by package version:
library("remotes")
install_version("curry", "0.1.1")



Attach the package and use:
library("curry")
Maintained by
Thomas Lin Pedersen
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-09-28
Latest Update: 2016-09-28
Description:
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.
How to cite:
Thomas Lin Pedersen (2016). curry: Partial Function Application with %<%, %-<%, and %><%. R package version 0.1.1, https://cran.r-project.org/web/packages/curry. Accessed 07 Aug. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited curry R package
View curry citation profile
Other R packages that curry depends, imports, suggests or enhances
Complete documentation for curry
Functions, R codes and Examples using the curry R package
Some associated functions: curry . partial . tail_curry . 
Some associated R codes: curry.R . partial.R . scaffold.R . tail_curry.R . utils.R .  Full curry package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA