From 1a42abdf1e20202a63ff4c6d53c1eb12816f7aa4 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 14 Jan 2025 20:15:16 +0300 Subject: [PATCH 1/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/bytes.eo | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eo-runtime/src/main/eo/org/eolang/bytes.eo b/eo-runtime/src/main/eo/org/eolang/bytes.eo index 835d82ee57..af16f7fdd4 100644 --- a/eo-runtime/src/main/eo/org/eolang/bytes.eo +++ b/eo-runtime/src/main/eo/org/eolang/bytes.eo @@ -102,22 +102,22 @@ "Can't convert non 2 length bytes to i16, bytes are %x" * ^ - # Calculate bitwise and. + # Calculate the bitwise and operation. [b] > and /org.eolang.bytes - # Calculate bitwise or. + # Calculate the bitwise or operation. [b] > or /org.eolang.bytes - # Calculate bitwise xor. + # Calculate the bitwise xor operation. [b] > xor /org.eolang.bytes - # Calculate bitwise not. + # Calculate the bitwise not operation. [] > not /org.eolang.bytes - # Calculate bitwise left shift. + # Calculate the bitwise left shift. ^.right x.neg > [x] > left - # Calculate bitwise right shift. + # Calculate the bitwise right shift. [x] > right /org.eolang.bytes # Concatenation of two byte sequences: From f5f82860577db365044fad9eb95ca85d8fa87629 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 02:16:54 +0300 Subject: [PATCH 2/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/angle.eo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eo-runtime/src/main/eo/org/eolang/math/angle.eo b/eo-runtime/src/main/eo/org/eolang/math/angle.eo index 8fe1d4002d..f13168d839 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/angle.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/angle.eo @@ -29,6 +29,8 @@ +version 0.0.0 # The angle. +# A measure of how much something is tilted or rotated, measured in degrees or radians. +# When dataized, it shows direction or how two lines meet. [value] > angle value > @ # Converts this from radians to degrees. From ed4379c653531c6a3c5ac4d070c64bcbcc9df055 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 02:22:34 +0300 Subject: [PATCH 3/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/bytes.eo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eo-runtime/src/main/eo/org/eolang/bytes.eo b/eo-runtime/src/main/eo/org/eolang/bytes.eo index af16f7fdd4..232718fe87 100644 --- a/eo-runtime/src/main/eo/org/eolang/bytes.eo +++ b/eo-runtime/src/main/eo/org/eolang/bytes.eo @@ -58,9 +58,11 @@ * ^ # Equals to another object. + # A condition where two objects have the same value or content. [b] > eq /org.eolang.bool # Total number of bytes. + # The complete count of bytes used to represent data. [] > size /org.eolang.number # Represents a sub-sequence inside the current one. From ef2aa8e8d07fd13116ec91662550fcd23d9e178e Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 02:22:41 +0300 Subject: [PATCH 4/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/fs/path.eo | 1 + 1 file changed, 1 insertion(+) diff --git a/eo-runtime/src/main/eo/org/eolang/fs/path.eo b/eo-runtime/src/main/eo/org/eolang/fs/path.eo index bb5336f895..d44ce29639 100644 --- a/eo-runtime/src/main/eo/org/eolang/fs/path.eo +++ b/eo-runtime/src/main/eo/org/eolang/fs/path.eo @@ -64,6 +64,7 @@ ^.posix.separator # POSIX specified path. + # A standardized way to represent file or directory locations in a Unix-like system. [uri] > posix $ > determined "/" > separator From ec4b89224258b84f67dc0ecaa49749500263df4a Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 02:46:17 +0300 Subject: [PATCH 5/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/real.eo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eo-runtime/src/main/eo/org/eolang/math/real.eo b/eo-runtime/src/main/eo/org/eolang/math/real.eo index cfce3b224d..45505fe2be 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/real.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/real.eo @@ -35,6 +35,7 @@ (QQ.math.real e).pow num > exp # Calculate MOD. + # An operation that finds the remainder after dividing one number by another. [x] > mod number ^.num.as-bytes > dividend number x.as-bytes > divisor @@ -64,6 +65,7 @@ value.neg # Make `^.num` power `x`. + # An operation that raises ^.num (a number) to the power of x. [x] > pow /org.eolang.number # Returns the positive square root of a `num`. @@ -76,4 +78,5 @@ [] > acos /org.eolang.number # Calculates arc sine of a `num`. + # An operation that finds the angle whose sine is num. [] > asin /org.eolang.number From b5cf28b7b1370f70614965bb79b34c2670a22a21 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 02:46:19 +0300 Subject: [PATCH 6/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/txt/text.eo | 1 + 1 file changed, 1 insertion(+) diff --git a/eo-runtime/src/main/eo/org/eolang/txt/text.eo b/eo-runtime/src/main/eo/org/eolang/txt/text.eo index d1d9607771..95de2becd7 100644 --- a/eo-runtime/src/main/eo/org/eolang/txt/text.eo +++ b/eo-runtime/src/main/eo/org/eolang/txt/text.eo @@ -31,6 +31,7 @@ +version 0.0.0 # Text. +# A sequence of characters representing words, sentences, or data. [origin] > text origin > @ # Check that all signs in string are numbers or letters. From 9f8a00778f594bf01429ec150fc30bf479e5ba5b Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 15:07:17 +0300 Subject: [PATCH 7/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/true.eo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eo-runtime/src/main/eo/org/eolang/true.eo b/eo-runtime/src/main/eo/org/eolang/true.eo index 58f6741631..f220357e65 100644 --- a/eo-runtime/src/main/eo/org/eolang/true.eo +++ b/eo-runtime/src/main/eo/org/eolang/true.eo @@ -35,7 +35,9 @@ left > [left right] > if # And. + # A logical operation that returns True only if all given conditions are true. 01-.eq x > [x] > and # Or. + # A logical operation that returns True if at least one of the given conditions is true. ^ > [x] > or From f0e09a37753d9f76ec320f7f48f60bbe0fbad990 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 15:07:25 +0300 Subject: [PATCH 8/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/false.eo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eo-runtime/src/main/eo/org/eolang/false.eo b/eo-runtime/src/main/eo/org/eolang/false.eo index 4edde93fbd..15dc071800 100644 --- a/eo-runtime/src/main/eo/org/eolang/false.eo +++ b/eo-runtime/src/main/eo/org/eolang/false.eo @@ -35,7 +35,9 @@ right > [left right] > if # And. + # A logical operation that returns True only if all given conditions are true. ^ > [x] > and # Or. + # A logical operation that returns True if at least one of the given conditions is true. 01-.eq x > [x] > or From 0a5bde80ad58b0da3e8049eb29b1b85787756ab9 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 15 Jan 2025 15:07:33 +0300 Subject: [PATCH 9/9] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/structs/list.eo | 1 + 1 file changed, 1 insertion(+) diff --git a/eo-runtime/src/main/eo/org/eolang/structs/list.eo b/eo-runtime/src/main/eo/org/eolang/structs/list.eo index 1fa01dc331..a4b5ca74ac 100644 --- a/eo-runtime/src/main/eo/org/eolang/structs/list.eo +++ b/eo-runtime/src/main/eo/org/eolang/structs/list.eo @@ -31,6 +31,7 @@ origin > @ # Is it empty?. + # A check to determine if an object contains no elements or data. 0.eq ^.origin.length > [] > is-empty # Create a new list with this element added to the end of it.