From 3b14c5cb2d20269af54d71425f0965b5f2c6df98 Mon Sep 17 00:00:00 2001 From: Timothy Sample Date: Wed, 8 Feb 2023 11:49:36 -0600 Subject: [PATCH] eval: Use 'identity' instead of 'values'. * gash/eval.scm (exps->thunk): Use 'identity' instead of 'values'. --- gash/eval.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gash/eval.scm b/gash/eval.scm index 1e33744..ad302a7 100644 --- a/gash/eval.scm +++ b/gash/eval.scm @@ -163,7 +163,7 @@ and arithmetic substitions." ;; XXX: It probably makes more sense to exclude '#f' expressions at ;; the syntax level. For now, we filter them out here. (if exps - (match (filter values exps) + (match (filter identity exps) (() noop) (exps (lambda () (eval-sh `( ,@exps))))) (lambda () (set-status! 0))))