From 92d95b978bfb10fd29024d0adda7b28f125e08b8 Mon Sep 17 00:00:00 2001 From: unwox Date: Tue, 15 Oct 2024 14:49:46 +0600 Subject: adapt to the new convention for calling luna module methods --- lib/utils.fnl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/utils.fnl (limited to 'lib/utils.fnl') diff --git a/lib/utils.fnl b/lib/utils.fnl new file mode 100644 index 0000000..3220952 --- /dev/null +++ b/lib/utils.fnl @@ -0,0 +1,5 @@ +(fn must [...] + (local (ok? result) ...) + (if ok? result (error result))) + +{: must} -- cgit v1.2.3