diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/maybe.lisp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/maybe.lisp b/examples/maybe.lisp index c72e114..0447139 100644 --- a/examples/maybe.lisp +++ b/examples/maybe.lisp @@ -8,7 +8,7 @@ (let unsafe-at (\[n seq] (match seq [] - (error "unsafe-at out of bounds") + (fatal "unsafe-at out of bounds") (match n 0 (head seq) @@ -39,11 +39,11 @@ "nothing" (print-line! "found nothing!")) -;; (export [ -;; just -;; nothing -;; unpack-just -;; kind -;; map -;; and-then -;; ])
\ No newline at end of file +(let exports [ + just + nothing + unpack-just + kind + map + and-then +]) |
