diff options
author | Eduardo Julian | 2018-07-10 00:24:01 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-10 00:24:01 -0400 |
commit | eb201f6e669f802650fdf06ea1acb1ef5682297b (patch) | |
tree | f8d1fd7dc4b10d46ac0d3ee5ca018f0907060ad0 /stdlib/source/lux/data/number/ratio.lux | |
parent | 474c270f548298fc6404e9c53f038b94eba7e997 (diff) |
- Re-named "struct:" to "structure:".
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/data/number/ratio.lux | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/number/ratio.lux b/stdlib/source/lux/data/number/ratio.lux index c96c66882..b23128348 100644 --- a/stdlib/source/lux/data/number/ratio.lux +++ b/stdlib/source/lux/data/number/ratio.lux @@ -100,17 +100,17 @@ [max >] ) -(struct: #export _ (Equivalence Ratio) +(structure: #export _ (Equivalence Ratio) (def: = ..=)) -(struct: #export _ (order.Order Ratio) +(structure: #export _ (order.Order Ratio) (def: eq Equivalence<Ratio>) (def: < ..<) (def: <= ..<=) (def: > ..>) (def: >= ..>=)) -(struct: #export _ (Number Ratio) +(structure: #export _ (Number Ratio) (def: + ..+) (def: - ..-) (def: * ..*) @@ -134,7 +134,7 @@ (-> Text (E.Error Nat)) (|>> (format "+") nat/decode)) -(struct: #export _ (Codec Text Ratio) +(structure: #export _ (Codec Text Ratio) (def: (encode (^slots [#numerator #denominator])) ($_ text/compose (part-encode numerator) separator (part-encode denominator))) |