diff options
author | Eduardo Julian | 2022-06-11 00:10:52 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-11 00:10:52 -0400 |
commit | 5b36c00da8a21c5d70adec4b50ef573e12dc5cf8 (patch) | |
tree | a1549d05cce57d20745c0835ea2419858fc30a4e /stdlib/source/test/lux/meta/version.lux | |
parent | f21ca0dc1956a47b8f7ac6e0ea67d7d246c55280 (diff) |
De-sigil-ification: : [Part 2]
Diffstat (limited to 'stdlib/source/test/lux/meta/version.lux')
-rw-r--r-- | stdlib/source/test/lux/meta/version.lux | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/stdlib/source/test/lux/meta/version.lux b/stdlib/source/test/lux/meta/version.lux index e85fc8aa5..3a59251de 100644 --- a/stdlib/source/test/lux/meta/version.lux +++ b/stdlib/source/test/lux/meta/version.lux @@ -14,7 +14,7 @@ [data ["[0]" text]] ["[0]" macro (.only) - [syntax (.only syntax:)] + [syntax (.only syntax)] ["[0]" code]] [math ["[0]" random] @@ -23,14 +23,15 @@ [\\library ["[0]" /]]) -(syntax: (failure [it <code>.any]) - (function (_ lux) - (case (macro.expansion it lux) - {try.#Failure error} - {try.#Success [lux (list (code.text error))]} - - {try.#Success _} - {try.#Failure ""}))) +(def: failure + (syntax (_ [it <code>.any]) + (function (_ lux) + (case (macro.expansion it lux) + {try.#Failure error} + {try.#Success [lux (list (code.text error))]} + + {try.#Success _} + {try.#Failure ""})))) (def: .public test Test |