[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/125: gnu: Add r-curry.
From: |
guix-commits |
Subject: |
07/125: gnu: Add r-curry. |
Date: |
Tue, 4 May 2021 01:33:05 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 6c07e74106fdf202422a6f1ea8802e680e4099c0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 4 07:11:02 2021 +0200
gnu: Add r-curry.
* gnu/packages/cran.scm (r-curry): New variable.
---
gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0269838..280c8ef 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -153,6 +153,35 @@ can limit either their total size or the age of the oldest
object (or both),
automatically pruning objects to maintain the constraints.")
(license license:expat)))
+(define-public r-curry
+ (package
+ (name "r-curry")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "curry" version))
+ (sha256
+ (base32
+ "1ps9hvbnb02m0b8hlw4admwbziyjvswj08ldi2dk3ymnrpawcc29"))))
+ (properties `((upstream-name . "curry")))
+ (build-system r-build-system)
+ (home-page "https://github.com/thomasp85/curry")
+ (synopsis "Partial function application")
+ (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 @code{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 @code{%<%}, @code{%-<%}, and @code{%><%} operators which allows
+for a programming style comparable to modern functional languages. Compared
+to other implementations such a @code{purrr::partial()} the operators in
+@code{curry} composes functions with named arguments, aiding in autocomplete
+etc.")
+ (license license:gpl2+)))
+
(define-public r-diffobj
(package
(name "r-diffobj")
- branch master updated (b9fb13b -> fcd002c), guix-commits, 2021/05/04
- 01/125: gnu: r-abn: Update to 2.5-0., guix-commits, 2021/05/04
- 02/125: gnu: Add r-conflicted., guix-commits, 2021/05/04
- 03/125: gnu: Add r-dtplyr., guix-commits, 2021/05/04
- 05/125: gnu: Add r-ids., guix-commits, 2021/05/04
- 08/125: gnu: r-brio: Update to 1.1.2., guix-commits, 2021/05/04
- 04/125: gnu: Add r-googledrive., guix-commits, 2021/05/04
- 06/125: gnu: Add r-googlesheets4., guix-commits, 2021/05/04
- 07/125: gnu: Add r-curry.,
guix-commits <=
- 10/125: gnu: r-ellipsis: Update to 0.3.2., guix-commits, 2021/05/04
- 11/125: gnu: r-mboost: Update to 2.9-5., guix-commits, 2021/05/04
- 09/125: gnu: r-v8: Update to 3.4.2., guix-commits, 2021/05/04
- 13/125: gnu: r-tidyverse: Update to 1.3.1., guix-commits, 2021/05/04
- 14/125: gnu: r-callr: Update to 3.7.0., guix-commits, 2021/05/04
- 15/125: gnu: r-httpuv: Update to 1.6.0., guix-commits, 2021/05/04
- 17/125: gnu: r-curl: Update to 4.3.1., guix-commits, 2021/05/04
- 16/125: gnu: r-servr: Update to 0.22., guix-commits, 2021/05/04
- 12/125: gnu: r-shadowtext: Update to 0.0.8., guix-commits, 2021/05/04
- 18/125: gnu: r-jquerylib: Update to 0.1.4., guix-commits, 2021/05/04