aboutsummaryrefslogtreecommitdiff
path: root/module/hnh
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-12 02:20:49 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-21 15:16:42 +0200
commit99fde5748fece2b7676fb80b90f66ca980ad4781 (patch)
tree4a01d3360ff471368c7aa036f6e75bd88f7a3ab1 /module/hnh
parentdatetime->decimal-hour correct time for hours without days. (diff)
downloadcalp-99fde5748fece2b7676fb80b90f66ca980ad4781.tar.gz
calp-99fde5748fece2b7676fb80b90f66ca980ad4781.tar.xz
Fix comment on unval.
Diffstat (limited to 'module/hnh')
-rw-r--r--module/hnh/util.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/hnh/util.scm b/module/hnh/util.scm
index 3019b35b..c4282bf6 100644
--- a/module/hnh/util.scm
+++ b/module/hnh/util.scm
@@ -299,9 +299,9 @@
(zip (iota (length lst))
lst))
-;; Takes a procedure returning multiple values, and returns a function which
+;; Takes a procedure returning multiple values, and returns a procedure which
;; takes the same arguments as the original procedure, but only returns one of
-;; the procedures. Which procedure can be sent as an additional parameter.
+;; the return values. Which value to return can be sent as an additional parameter.
(define*-public (unval proc #:optional (n 0))
(lambda args
(call-with-values (lambda () (apply proc args))