diff options
Diffstat (limited to '')
5 files changed, 20 insertions, 43 deletions
diff --git a/stdlib/source/documentation/lux/math/number/frac.lux b/stdlib/source/documentation/lux/math/number/frac.lux index d14b0e3b5..1d4a2f45e 100644 --- a/stdlib/source/documentation/lux/math/number/frac.lux +++ b/stdlib/source/documentation/lux/math/number/frac.lux @@ -32,8 +32,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> param subject)])] + <doc>)] [/.+ "Frac(tion) addition."] [/.- "Frac(tion) substraction."] @@ -48,8 +47,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> left right)])] + <doc>)] [/.min "Frac(tion) minimum."] [/.max "Frac(tion) minimum."] diff --git a/stdlib/source/documentation/lux/math/number/i64.lux b/stdlib/source/documentation/lux/math/number/i64.lux index 18365fe3a..49e371342 100644 --- a/stdlib/source/documentation/lux/math/number/i64.lux +++ b/stdlib/source/documentation/lux/math/number/i64.lux @@ -12,8 +12,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> parameter subject)])] + <doc>)] [/.or "Bitwise or."] [/.xor "Bitwise xor."] @@ -44,15 +43,11 @@ "Count the number of 1s in a bit-map." [(ones it)]) -(documentation: /.zero - "Clear bit at the given index." - [(zero index input)]) - (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> index input)])] + <doc>)] + [/.zero "Clear bit at the given index."] [/.one "Set bit at given index."] [/.flipped "Flip bit at given index."] ) @@ -65,15 +60,6 @@ "" [(zero? index input)]) -(template [<name>] - [(documentation: <name> - "" - [(<name> distance input)])] - - [/.left_rotated] - [/.right_rotated] - ) - (documentation: /.region "A mask for a block of bits of the given size, starting at the given offset." [(region offset size)]) @@ -105,8 +91,6 @@ ..flipped ..one? ..zero? - ..left_rotated - ..right_rotated ..region ..Sub ..sub @@ -119,5 +103,7 @@ ($.default /.hash) ($.default /.disjunction) ($.default /.conjunction) - ($.default /.reversed)] + ($.default /.reversed) + ($.default /.left_rotated) + ($.default /.right_rotated)] [])) diff --git a/stdlib/source/documentation/lux/math/number/int.lux b/stdlib/source/documentation/lux/math/number/int.lux index fc8b72cfd..60659050c 100644 --- a/stdlib/source/documentation/lux/math/number/int.lux +++ b/stdlib/source/documentation/lux/math/number/int.lux @@ -32,8 +32,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> left right)])] + <doc>)] [/.min "Int(eger) minimum."] [/.max "Int(eger) maximum."] @@ -41,8 +40,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> param subject)])] + <doc>)] [/.+ "Int(eger) addition."] [/.- "Int(eger) substraction."] diff --git a/stdlib/source/documentation/lux/math/number/nat.lux b/stdlib/source/documentation/lux/math/number/nat.lux index 957da93b0..dbae19c36 100644 --- a/stdlib/source/documentation/lux/math/number/nat.lux +++ b/stdlib/source/documentation/lux/math/number/nat.lux @@ -12,8 +12,7 @@ (template [<name> <documentation>] [(documentation: <name> - <documentation> - [(<name> parameter subject)])] + <documentation>)] [/.= "Nat(ural) equivalence."] [/.+ "Nat(ural) addition."] @@ -30,8 +29,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> left right)])] + <doc>)] [/.min "Nat(ural) minimum."] [/.max "Nat(ural) maximum."] diff --git a/stdlib/source/documentation/lux/math/number/rev.lux b/stdlib/source/documentation/lux/math/number/rev.lux index bd5c28ab1..2a2053128 100644 --- a/stdlib/source/documentation/lux/math/number/rev.lux +++ b/stdlib/source/documentation/lux/math/number/rev.lux @@ -32,8 +32,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> left right)])] + <doc>)] [/.min "Rev(olution) minimum."] [/.max "Rev(olution) maximum."] @@ -41,8 +40,7 @@ (template [<name> <doc>] [(documentation: <name> - <doc> - [(<name> param subject)])] + <doc>)] [/.+ "Rev(olution) addition."] [/.- "Rev(olution) substraction."] @@ -52,14 +50,13 @@ [/.ratio "Ratio between two rev(olution)s."] ) -(template [<name>] - [(documentation: <name> - "" - [(<name> scale subject)])] +(documentation: /.up + "" + [(up scale subject)]) - [/.up] - [/.down] - ) +(documentation: /.down + "" + [(down scale subject)]) (documentation: /.reciprocal "Rev(olution) reciprocal of a Nat(ural)." |