diff options
Diffstat (limited to 'stdlib/source/library/lux/control/try.lux')
-rw-r--r-- | stdlib/source/library/lux/control/try.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/control/try.lux b/stdlib/source/library/lux/control/try.lux index 419f3525d..1a1fae856 100644 --- a/stdlib/source/library/lux/control/try.lux +++ b/stdlib/source/library/lux/control/try.lux @@ -100,7 +100,7 @@ (_#= reference sample) [{#Failure reference} {#Failure sample}] - ("lux text =" reference sample) + (.text_=# reference sample) _ false @@ -135,13 +135,13 @@ {#Success value} {.#None} - {#Failure (`` (("lux in-module" (,, (static .prelude)) .symbol#encoded) (symbol ..of_maybe)))})) + {#Failure (`` ((.in_module# (,, (static .prelude)) .symbol#encoded) (symbol ..of_maybe)))})) (def generated_symbol (macro (_ tokens compiler) (.when tokens (list [_ {.#Text prefix}]) - (let [generated_symbol (`` ("lux in-module" (,, (static .prelude)) .generated_symbol))] + (let [generated_symbol (`` (.in_module# (,, (static .prelude)) .generated_symbol))] (.when (generated_symbol prefix compiler) {#Success [compiler g!_]} {#Success [compiler (list g!_)]} @@ -168,7 +168,7 @@ (template (_ <test> <then>) [(if <test> <then> - {..#Failure (let [symbol#encoded (`` ("lux in-module" (,, (static .prelude)) .symbol#encoded))] - (all "lux text concat" + {..#Failure (let [symbol#encoded (`` (.in_module# (,, (static .prelude)) .symbol#encoded))] + (all .text_composite# "[" (symbol#encoded (symbol ..when)) "]" " " "Invalid condition!"))})])) |