diff options
| author | unwox <me@unwox.com> | 2024-10-15 14:49:46 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-10-15 14:59:04 +0600 |
| commit | 92d95b978bfb10fd29024d0adda7b28f125e08b8 (patch) | |
| tree | 189fd3c9cf9bc08712d795e8119c8df61fd7ce6b /lib/utils.fnl | |
| parent | 1204496efa2fcd495bd74ba8ca249b7f082f3ba5 (diff) | |
adapt to the new convention for calling luna module methods
Diffstat (limited to 'lib/utils.fnl')
| -rw-r--r-- | lib/utils.fnl | 5 |
1 files changed, 5 insertions, 0 deletions
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} |
