diff options
author | Eduardo Julian | 2022-04-08 21:59:08 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-04-08 21:59:08 -0400 |
commit | ab99de20a3d0566a71bf0ef607d9d6e291d7f62a (patch) | |
tree | 3755ede88eebb40e76291b45d0e3be4fdfb68621 /stdlib/source/library/lux/math | |
parent | 120ebb44dbb1a20fc150e5e58099f90be2e61d49 (diff) |
Removed (mostly useless) pattern-matching macro for abstract types.
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/math/modular.lux | 2 | ||||
-rw-r--r-- | stdlib/source/library/lux/math/modulus.lux | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/math/modular.lux b/stdlib/source/library/lux/math/modular.lux index 6c4263f23..8808e01c2 100644 --- a/stdlib/source/library/lux/math/modular.lux +++ b/stdlib/source/library/lux/math/modular.lux @@ -23,7 +23,7 @@ [number ["i" int ("[1]#[0]" decimal)]]] [type - [abstract {"-" pattern}]]]] + [abstract "*"]]]] ["[0]" // "_" ["[1]" modulus {"+" Modulus}]]) diff --git a/stdlib/source/library/lux/math/modulus.lux b/stdlib/source/library/lux/math/modulus.lux index 6a08451e1..dfc630966 100644 --- a/stdlib/source/library/lux/math/modulus.lux +++ b/stdlib/source/library/lux/math/modulus.lux @@ -16,7 +16,7 @@ [number ["i" int]]] [type - [abstract {"-" pattern}]]]]) + [abstract "*"]]]]) (exception: .public zero_cannot_be_a_modulus) |