monads: Remove unused 'nargs' parameter from 'lift'.

* guix/monads.scm (lift): Remove 'nargs' parameter.
This commit is contained in:
Ludovic Courtès 2014-11-05 22:25:09 +01:00
parent fae3d34720
commit e4bed284ae
1 changed files with 3 additions and 3 deletions

View File

@ -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)))))