diff options
Diffstat (limited to 'stdlib/source/library/lux/math/number.lux')
-rw-r--r-- | stdlib/source/library/lux/math/number.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/math/number.lux b/stdlib/source/library/lux/math/number.lux index d145556c8..47fb4ac4a 100644 --- a/stdlib/source/library/lux/math/number.lux +++ b/stdlib/source/library/lux/math/number.lux @@ -40,22 +40,22 @@ (if (..separator_prefixed? repr') {try.#Failure <error>} (let [repr (..without_separators repr')] - (when (at <nat> decoded repr) + (when (of <nat> decoded repr) {try.#Success value} {try.#Success [state (list [meta {.#Nat value}])]} (^.multi {try.#Failure _} - [(at <int> decoded repr) + [(of <int> decoded repr) {try.#Success value}]) {try.#Success [state (list [meta {.#Int value}])]} (^.multi {try.#Failure _} - [(at <rev> decoded repr) + [(of <rev> decoded repr) {try.#Success value}]) {try.#Success [state (list [meta {.#Rev value}])]} (^.multi {try.#Failure _} - [(at <frac> decoded repr) + [(of <frac> decoded repr) {try.#Success value}]) {try.#Success [state (list [meta {.#Frac value}])]} |