Skip to content

Commit

Permalink
Merge pull request #3692 from uchitsa/3663-fail-on-warning-on
Browse files Browse the repository at this point in the history
Add cosmetic fixes
  • Loading branch information
yegor256 authored Dec 18, 2024
2 parents ac44a37 + fbc7b73 commit ca7eb22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion eo-runtime/src/main/eo/org/eolang/fs/path.eo
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
# | relative | absolute | other |
# | relative | relative | uri + other |
# |----------|----------|-------------|
# URI Resolution Rules.
[other] > resolved
other.as-bytes > other-as-bytes
normalized. > @
Expand Down Expand Up @@ -327,7 +328,7 @@
# Normalization includes:
# - converting multiple slashes into a single slash.
# - resolving "." (current directory) and ".." (parent directory) segments.
# - handling of drive letters in Windows
# - handling of drive letters in Windows.
[] > normalized
^.uri > uri-as-bytes!
(^.is-drive-relative uri-as-bytes).as-bool > is-drive-relative
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/org/eolang/math/pi.eo
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
+package org.eolang.math
+version 0.0.0

# The PI number
# Returns an approximate PI number.
3.14159265358979323846 > pi
4 changes: 2 additions & 2 deletions eo-runtime/src/main/eo/org/eolang/math/random.eo
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
+package org.eolang.math
+version 0.0.0

# Pseudo random number.
# Generates a pseudo-random number.
[seed] > random
$ > fixed
# Get float value for current `seed`.
# Divide `seed` to maximum possible value of the `seed` which is 1 << 53
# Divide `seed` to maximum possible value of the `seed` which is 1 << 53.
div. > @
seed.as-number
00-20-00-00-00-00-00-00.as-i64.as-number
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/main/eo/org/eolang/sys/getenv.eo
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# Get environment variable as `string`.
# If return `string` is empty - the variable does not exist.
#
# See https://man7.org/linux/man-pages/man3/getenv.3.html
# See https://man7.org/linux/man-pages/man3/getenv.3.html.
[name] > getenv
output. > @
if.
Expand Down

0 comments on commit ca7eb22

Please sign in to comment.