aboutsummaryrefslogtreecommitdiff
path: root/module/hnh
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-07-23 23:34:34 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-08-18 16:38:37 +0200
commit9e859e1b1368b1f03a556cae9f91df94ca217017 (patch)
tree0a7d1402b5da1904c1ca94d00e7e12fdc2a71991 /module/hnh
parentGeneral cleanup around cpp. (diff)
downloadcalp-9e859e1b1368b1f03a556cae9f91df94ca217017.tar.gz
calp-9e859e1b1368b1f03a556cae9f91df94ca217017.tar.xz
Minor general cleanup.
Diffstat (limited to '')
-rw-r--r--module/hnh/util/values.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/hnh/util/values.scm b/module/hnh/util/values.scm
index 75db638f..ddabb10c 100644
--- a/module/hnh/util/values.scm
+++ b/module/hnh/util/values.scm
@@ -30,6 +30,7 @@
(lambda (prompt . rets)
(apply values (modify rets (ref idx) prompt)))))
+;; TODO value-ref becomes value
(define-syntax-rule (value-ref form idx)
(call-with-values (lambda () form)
(lambda returns (list-ref returns idx))))