aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-05 22:25:09 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-05 22:59:50 +0100
commite4bed284ae0fa5aebba8be71757a1e44903ffe13 (patch)
tree9d2671a19ce79a98e9ecf0836be0d1494b19a038
parentfae3d347208f21fd3773fe88d3a8c9ca39b9f6c9 (diff)
downloadguix-e4bed284ae0fa5aebba8be71757a1e44903ffe13.tar
guix-e4bed284ae0fa5aebba8be71757a1e44903ffe13.tar.gz
monads: Remove unused 'nargs' parameter from 'lift'.
* guix/monads.scm (lift): Remove 'nargs' parameter.
-rw-r--r--guix/monads.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/guix/monads.scm b/guix/monads.scm
index d9580a7f8e..b419ba066a 100644
--- a/guix/monads.scm
+++ b/guix/monads.scm
@@ -202,9 +202,9 @@ the last one."
(define-lift lift6 (a b c d e f))
(define-lift lift7 (a b c d e f g))
-(define (lift nargs proc monad)
- "Lift PROC, a procedure that accepts NARGS arguments, to MONAD---i.e.,
-return a monadic function in MONAD."
+(define (lift proc monad)
+ "Lift PROC, a procedure that accepts an arbitrary number of arguments, to
+MONAD---i.e., return a monadic function in MONAD."
(lambda args
(with-monad monad
(return (apply proc args)))))