From 73913ff9a9f0372047ed037188a7bddcc704d597 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Thu, 19 Dec 2024 02:55:50 +0300 Subject: [PATCH 1/6] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/e.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/math/e.eo b/eo-runtime/src/main/eo/org/eolang/math/e.eo index e720a08291..91e24c3919 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/e.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/e.eo @@ -25,5 +25,5 @@ +package org.eolang.math +version 0.0.0 -# The Euler's number +# The Euler's number. 2.7182818284590452354 > e From 15f86d4d844fbddaa477c70232ae4e821c64bcfc Mon Sep 17 00:00:00 2001 From: uchitsa Date: Thu, 19 Dec 2024 02:58:18 +0300 Subject: [PATCH 2/6] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/math/real.eo | 2 +- eo-runtime/src/main/eo/org/eolang/structs/list.eo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 2d6647ed69..31cf22d9e6 100644 --- a/eo-runtime/src/main/eo/org/eolang/math/real.eo +++ b/eo-runtime/src/main/eo/org/eolang/math/real.eo @@ -28,7 +28,7 @@ +rt node eo2js-runtime:0.0.0 +version 0.0.0 -# Real number. +# Returns a floating point number. [num] > real num > @ # Returns Euler's number raised to the power of a `num`. 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 d26e7404f1..a3201a18a6 100644 --- a/eo-runtime/src/main/eo/org/eolang/structs/list.eo +++ b/eo-runtime/src/main/eo/org/eolang/structs/list.eo @@ -30,7 +30,7 @@ [origin] > list origin > @ - # Is it empty? + # Is it empty?. 0.eq ^.origin.length > [] > is-empty # Create a new list with this element added to the end of it. From 725b3f6bbede25c60604ea67eca0e2a925a7dff1 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Thu, 19 Dec 2024 03:00:07 +0300 Subject: [PATCH 3/6] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/fs/path.eo | 2 ++ 1 file changed, 2 insertions(+) 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 f307fbbf53..70cb828892 100644 --- a/eo-runtime/src/main/eo/org/eolang/fs/path.eo +++ b/eo-runtime/src/main/eo/org/eolang/fs/path.eo @@ -422,6 +422,7 @@ # | root relative | drive relative | other | # | root relative | root relative | other | # |--------------------|----------------|-------------------| + # URI Resolution Rules. [other] > resolved ^.uri > uri-as-bytes! ^.separated-correctly other > valid-other! @@ -523,6 +524,7 @@ # | "Hello, Jeff" | "Hello, Jeff" | # | "" | "" | # |------------------------------|--------------------| + # Extracting Directory Names from File Paths. [] > dirname ^.uri > pth! text > txt From c4cbc5f139620448ae2ec37f378662b8bc8f9225 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 24 Dec 2024 18:38:37 +0300 Subject: [PATCH 4/6] fix typo --- eo-runtime/src/main/eo/org/eolang/fs/file.eo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo-runtime/src/main/eo/org/eolang/fs/file.eo b/eo-runtime/src/main/eo/org/eolang/fs/file.eo index 1270c8fca6..183acfeb19 100644 --- a/eo-runtime/src/main/eo/org/eolang/fs/file.eo +++ b/eo-runtime/src/main/eo/org/eolang/fs/file.eo @@ -67,7 +67,7 @@ ^ ^ - # Deletes the file and and returns `true`. + # Deletes the file and returns `true`. # # Attention! The object is for internal usage only, please # don't use the object programmatically outside of `file` object. From 6e8808643eafe02ee60f40ba2d9df8d303f965e6 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Tue, 24 Dec 2024 19:55:49 +0300 Subject: [PATCH 5/6] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/fs/file.eo | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eo-runtime/src/main/eo/org/eolang/fs/file.eo b/eo-runtime/src/main/eo/org/eolang/fs/file.eo index 183acfeb19..f3394be06d 100644 --- a/eo-runtime/src/main/eo/org/eolang/fs/file.eo +++ b/eo-runtime/src/main/eo/org/eolang/fs/file.eo @@ -28,7 +28,7 @@ +rt node eo2js-runtime:0.0.0 +version 0.0.0 -# A file on the filesystem. +# The file object in the filesystem. [path] > file $.path > @ @@ -73,7 +73,7 @@ # don't use the object programmatically outside of `file` object. [] > delete /org.eolang.true - # Get file size in bytes. + # Gets the file size and returns it in bytes. [] > size /org.eolang.number # Move current file to `target`, making and returning a new `file` from it. @@ -89,7 +89,7 @@ # don't use the object programmatically outside of `file` object. [] > move /org.eolang.string - # Convert the `file` to `path`. + # Convert the `file` to the `path`. (QQ.fs.path ^.path).determined > [] > as-path # Opens the file. From 65d24e423b4406979b3d9fd2296bef5b3d6e7fe4 Mon Sep 17 00:00:00 2001 From: uchitsa Date: Wed, 25 Dec 2024 02:36:57 +0300 Subject: [PATCH 6/6] fix quality warnings --- eo-runtime/src/main/eo/org/eolang/nan.eo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eo-runtime/src/main/eo/org/eolang/nan.eo b/eo-runtime/src/main/eo/org/eolang/nan.eo index c68a590b57..7d3d051e35 100644 --- a/eo-runtime/src/main/eo/org/eolang/nan.eo +++ b/eo-runtime/src/main/eo/org/eolang/nan.eo @@ -50,13 +50,13 @@ # Tests that $ >= x. false > [x] > gte - # Multiplication of $ and x. + # Returns the multiplication of $ and x. ^ > [x] > times # Sum of $ and x. ^ > [x] > plus - # Difference between $ and x. + # Returns the difference between $ and x. ^ > [x] > minus # Quotient of the division of $ by x.