From 658b6d9eef1307c63c3e63e3fff3d4a71802ba6c Mon Sep 17 00:00:00 2001 From: Yegor Bugayenko Date: Fri, 27 Dec 2024 15:30:45 +0300 Subject: [PATCH] #289 up to 0.50.0 --- make/jvm/pom.xml | 2 +- objects/org/eolang/bytes.eo | 6 +- objects/org/eolang/cti.eo | 2 +- objects/org/eolang/dataized.eo | 2 +- objects/org/eolang/error.eo | 4 +- objects/org/eolang/false.eo | 2 +- objects/org/eolang/fs/dir.eo | 29 ++++----- objects/org/eolang/fs/file.eo | 59 ++++++++----------- objects/org/eolang/fs/path.eo | 2 +- objects/org/eolang/fs/tmpdir.eo | 2 +- objects/org/eolang/go.eo | 2 +- objects/org/eolang/i16.eo | 4 +- objects/org/eolang/i32.eo | 4 +- objects/org/eolang/i64.eo | 4 +- objects/org/eolang/io/bytes-as-input.eo | 2 +- objects/org/eolang/io/console.eo | 42 ++++++------- objects/org/eolang/io/dead-input.eo | 2 +- objects/org/eolang/io/dead-output.eo | 2 +- objects/org/eolang/io/input-length.eo | 2 +- objects/org/eolang/io/malloc-as-output.eo | 11 ++-- objects/org/eolang/io/stdin.eo | 2 +- objects/org/eolang/io/stdout.eo | 9 ++- objects/org/eolang/io/tee-input.eo | 13 ++-- objects/org/eolang/malloc.eo | 18 +++--- objects/org/eolang/math/angle.eo | 4 +- objects/org/eolang/math/e.eo | 2 +- objects/org/eolang/math/integral.eo | 36 ++++++----- objects/org/eolang/math/numbers.eo | 2 +- objects/org/eolang/math/pi.eo | 2 +- objects/org/eolang/math/random.eo | 2 +- objects/org/eolang/math/real.eo | 4 +- objects/org/eolang/nan.eo | 2 +- objects/org/eolang/negative-infinity.eo | 2 +- objects/org/eolang/net/socket.eo | 16 +++-- objects/org/eolang/number.eo | 4 +- objects/org/eolang/positive-infinity.eo | 2 +- objects/org/eolang/seq.eo | 2 +- objects/org/eolang/string.eo | 2 +- objects/org/eolang/structs/bytes-as-array.eo | 2 +- objects/org/eolang/structs/hash-code-of.eo | 2 +- objects/org/eolang/structs/list.eo | 13 ++-- objects/org/eolang/structs/map.eo | 10 +--- objects/org/eolang/structs/range-of-ints.eo | 2 +- objects/org/eolang/structs/range.eo | 2 +- objects/org/eolang/structs/set.eo | 2 +- objects/org/eolang/switch.eo | 2 +- objects/org/eolang/sys/getenv.eo | 2 +- objects/org/eolang/sys/line-separator.eo | 2 +- objects/org/eolang/sys/os.eo | 4 +- objects/org/eolang/sys/posix.eo | 4 +- objects/org/eolang/sys/win32.eo | 4 +- objects/org/eolang/true.eo | 2 +- objects/org/eolang/try.eo | 4 +- objects/org/eolang/tuple.eo | 2 +- objects/org/eolang/txt/regex.eo | 4 +- objects/org/eolang/txt/sprintf.eo | 4 +- objects/org/eolang/txt/sscanf.eo | 4 +- objects/org/eolang/txt/text.eo | 2 +- objects/org/eolang/while.eo | 9 ++- tests/org/eolang/bool-tests.eo | 2 +- tests/org/eolang/bytes-tests.eo | 2 +- tests/org/eolang/cti-test.eo | 2 +- tests/org/eolang/dataized-tests.eo | 2 +- tests/org/eolang/fs/dir-tests.eo | 2 +- tests/org/eolang/fs/file-tests.eo | 2 +- tests/org/eolang/fs/path-tests.eo | 2 +- tests/org/eolang/fs/tmpdir-tests.eo | 2 +- tests/org/eolang/go-tests.eo | 2 +- tests/org/eolang/i16-tests.eo | 2 +- tests/org/eolang/i32-tests.eo | 2 +- tests/org/eolang/i64-tests.eo | 2 +- tests/org/eolang/io/bytes-as-input-test.eo | 2 +- tests/org/eolang/io/console-test.eo | 2 +- tests/org/eolang/io/dead-input-tests.eo | 2 +- tests/org/eolang/io/dead-output-tests.eo | 2 +- tests/org/eolang/io/input-length-tests.eo | 2 +- tests/org/eolang/io/malloc-as-output-test.eo | 2 +- tests/org/eolang/io/stdout-test.eo | 2 +- tests/org/eolang/io/tee-input-tests.eo | 2 +- tests/org/eolang/malloc-tests.eo | 2 +- tests/org/eolang/math/angle-tests.eo | 2 +- tests/org/eolang/math/integral-tests.eo | 2 +- tests/org/eolang/math/numbers-tests.eo | 2 +- tests/org/eolang/math/random-tests.eo | 2 +- tests/org/eolang/math/real-tests.eo | 2 +- tests/org/eolang/nan-tests.eo | 2 +- tests/org/eolang/negative-infinity-tests.eo | 2 +- tests/org/eolang/number-tests.eo | 2 +- tests/org/eolang/positive-infinity-tests.eo | 2 +- tests/org/eolang/runtime-tests.eo | 24 +++++++- tests/org/eolang/seq-tests.eo | 2 +- tests/org/eolang/string-tests.eo | 2 +- .../eolang/structs/bytes-as-array-tests.eo | 2 +- .../org/eolang/structs/hash-code-of-tests.eo | 2 +- tests/org/eolang/structs/list-tests.eo | 2 +- tests/org/eolang/structs/map-tests.eo | 2 +- .../org/eolang/structs/range-of-ints-tests.eo | 2 +- tests/org/eolang/structs/range-tests.eo | 2 +- tests/org/eolang/structs/set-tests.eo | 2 +- tests/org/eolang/switch-tests.eo | 2 +- tests/org/eolang/sys/os-tests.eo | 2 +- tests/org/eolang/sys/posix-tests.eo | 2 +- tests/org/eolang/sys/win32-tests.eo | 2 +- tests/org/eolang/try-tests.eo | 2 +- tests/org/eolang/tuple-tests.eo | 2 +- tests/org/eolang/txt/regex-tests.eo | 2 +- tests/org/eolang/txt/sprintf-tests.eo | 2 +- tests/org/eolang/txt/sscanf-tests.eo | 2 +- tests/org/eolang/txt/text-tests.eo | 2 +- tests/org/eolang/while-tests.eo | 2 +- 110 files changed, 250 insertions(+), 265 deletions(-) diff --git a/make/jvm/pom.xml b/make/jvm/pom.xml index 0fa5e8ff..1e9103a3 100644 --- a/make/jvm/pom.xml +++ b/make/jvm/pom.xml @@ -28,7 +28,7 @@ SOFTWARE. jvm 1.0-SNAPSHOT - 0.49.4 + 0.50.0 32M 2G diff --git a/objects/org/eolang/bytes.eo b/objects/org/eolang/bytes.eo index d61d0400..c4924fa8 100644 --- a/objects/org/eolang/bytes.eo +++ b/objects/org/eolang/bytes.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The object encapsulates a chain of bytes, adding a few # convenient operations to it. Objects like `int`, `string`, @@ -55,7 +55,7 @@ error sprintf "Can't convert non 8 length bytes to a number, bytes are %x" - * + * ^ # Equals to another object. [b] > eq /org.eolang.bool diff --git a/objects/org/eolang/cti.eo b/objects/org/eolang/cti.eo index e2ad543e..f0501b7b 100644 --- a/objects/org/eolang/cti.eo +++ b/objects/org/eolang/cti.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Compile Time Instruction (CTI). # diff --git a/objects/org/eolang/dataized.eo b/objects/org/eolang/dataized.eo index d2934368..3a35ce0a 100644 --- a/objects/org/eolang/dataized.eo +++ b/objects/org/eolang/dataized.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # The object dataizes `target`, makes new instance of `bytes` from given data and behaves as result # `bytes`. diff --git a/objects/org/eolang/error.eo b/objects/org/eolang/error.eo index 53c35018..f360074c 100644 --- a/objects/org/eolang/error.eo +++ b/objects/org/eolang/error.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # This object must be used in order to terminate the program # due to an error. Just make a copy of it with any encapsulated object. diff --git a/objects/org/eolang/false.eo b/objects/org/eolang/false.eo index 153587b7..a80534dc 100644 --- a/objects/org/eolang/false.eo +++ b/objects/org/eolang/false.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # The object is a FALSE boolean state. [] > false diff --git a/objects/org/eolang/fs/dir.eo b/objects/org/eolang/fs/dir.eo index 496ed190..efbc6ae9 100644 --- a/objects/org/eolang/fs/dir.eo +++ b/objects/org/eolang/fs/dir.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.fs -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Directory in the file system. # Apparently every directory is a file. @@ -40,10 +40,9 @@ if. > @ ^.exists ^ - seq - * - mkdir - ^ + seq * + mkdir + ^ # Makes a directory together with all required # parent directories. @@ -64,10 +63,9 @@ walked.length > len! if. > @ ^.exists - seq - * - rec-delete walked 0 - ^ + seq * + rec-delete walked 0 + ^ ^ # Deletes files and directories in current directory recursively. @@ -79,12 +77,11 @@ if. > @ ^.len.eq index true - seq - * - tup.tail.deleted.exists - ^.rec-delete - tup.head - index.plus 1 + seq * + tup.tail.deleted.exists + ^.rec-delete + tup.head + index.plus 1 # Creates an empty temporary file in the current directory. [] > tmpfile diff --git a/objects/org/eolang/fs/file.eo b/objects/org/eolang/fs/file.eo index b6e76654..2dc4d608 100644 --- a/objects/org/eolang/fs/file.eo +++ b/objects/org/eolang/fs/file.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.fs -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The file object in the filesystem. [path] > file @@ -45,10 +45,9 @@ if. > @ ^.exists ^ - seq - * - touch - ^ + seq * + touch + ^ # Creates new empty file. # @@ -61,10 +60,9 @@ [] > deleted if. > @ ^.exists - seq - * - delete - ^ + seq * + delete + ^ ^ # Deletes the file and returns `true`. @@ -156,23 +154,20 @@ sprintf "File must exist for given access mod: '%s'" * access - seq - * - ^.touched.touch - process-file - ^ + seq * + ^.touched.touch + process-file + ^ if. truncate - seq - * - ^.deleted.delete - ^.touched.touch - process-file - ^ - seq - * - process-file - ^ + seq * + ^.deleted.delete + ^.touched.touch + process-file + ^ + seq * + process-file + ^ # Process current file in the provided scope. # @@ -219,10 +214,9 @@ sprintf "Can't read from file with provided access mode '%s'" * ^.^.^.^.^.access - seq - * - read-bytes - ^.^.input-block read-bytes + seq * + read-bytes + ^.^.input-block read-bytes # Bytes read from file input stream # @@ -261,10 +255,9 @@ sprintf "Can't write to file with provided access mode '%s'" * ^.^.^.^.^.access - seq - * - ^.^.written-bytes buffer - ^.^.output-block + seq * + ^.^.written-bytes buffer + ^.^.output-block # Bytes written to file output stream. # diff --git a/objects/org/eolang/fs/path.eo b/objects/org/eolang/fs/path.eo index bbaf744f..c7bad457 100644 --- a/objects/org/eolang/fs/path.eo +++ b/objects/org/eolang/fs/path.eo @@ -27,7 +27,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.fs -+version 0.49.4 ++version 0.50.0 # A `path` represents a path that is hierarchical and composed of a sequence of # directory and file name elements separated by a special separator or delimiter. diff --git a/objects/org/eolang/fs/tmpdir.eo b/objects/org/eolang/fs/tmpdir.eo index c71101d5..55ec04b1 100644 --- a/objects/org/eolang/fs/tmpdir.eo +++ b/objects/org/eolang/fs/tmpdir.eo @@ -27,7 +27,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.fs -+version 0.49.4 ++version 0.50.0 # Temporary directory. # For Unix/MacOS uses the path supplied by the first environment variable diff --git a/objects/org/eolang/go.eo b/objects/org/eolang/go.eo index 7e74f0f5..bd11866f 100644 --- a/objects/org/eolang/go.eo +++ b/objects/org/eolang/go.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Non-conditional forward and backward jumps. # Forward jump instantly returns provided object to `g.forward` without touching diff --git a/objects/org/eolang/i16.eo b/objects/org/eolang/i16.eo index 25c4792c..42dccb80 100644 --- a/objects/org/eolang/i16.eo +++ b/objects/org/eolang/i16.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The 16 bits signed integer. # Here `as-bytes` must be a `bytes` object. diff --git a/objects/org/eolang/i32.eo b/objects/org/eolang/i32.eo index 78d37cc2..7ef6898f 100644 --- a/objects/org/eolang/i32.eo +++ b/objects/org/eolang/i32.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The 32 bits signed integer. # Here `as-bytes` must be a `bytes` object. diff --git a/objects/org/eolang/i64.eo b/objects/org/eolang/i64.eo index 9d758587..f42fd358 100644 --- a/objects/org/eolang/i64.eo +++ b/objects/org/eolang/i64.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The 64 bits signed integer. # Here `as-bytes` must be a `bytes` object. diff --git a/objects/org/eolang/io/bytes-as-input.eo b/objects/org/eolang/io/bytes-as-input.eo index 3ff16ea9..071314aa 100644 --- a/objects/org/eolang/io/bytes-as-input.eo +++ b/objects/org/eolang/io/bytes-as-input.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Makes an `input` from bytes. # Here `bts` is sequence of bytes or an object that can be dataized diff --git a/objects/org/eolang/io/console.eo b/objects/org/eolang/io/console.eo index 7a4fa897..cbefc5aa 100644 --- a/objects/org/eolang/io/console.eo +++ b/objects/org/eolang/io/console.eo @@ -26,7 +26,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # The `console` object is basic I/O object that allows to # interact with operation system console. @@ -116,10 +116,9 @@ "read" * posix.stdin-fileno size self. > @ - seq - * - read-bytes - ^.^.input-block read-bytes + seq * + read-bytes + ^.^.input-block read-bytes # Write given `buffer` to console. # Here `buffer` is either sequence of bytes or and object that can be @@ -140,13 +139,12 @@ # Returns new instance of `output-block` ready to write again. [buffer] > write self. > @ - seq - * - code. - posix - "write" - * posix.stdout-fileno buffer buffer.size - ^.^.output-block + seq * + code. + posix + "write" + * posix.stdout-fileno buffer buffer.size + ^.^.output-block # Windows console. # It uses kernel32.dll system function calls to read/write standard inputs/outputs. @@ -174,10 +172,9 @@ "ReadFile" * win32.std-input-handle size self. > @ - seq - * - read-bytes - ^.^.input-block read-bytes + seq * + read-bytes + ^.^.input-block read-bytes # Write given `buffer` to console. # Here `buffer` is either sequence of bytes or and object that can be @@ -198,10 +195,9 @@ # Returns new instance of `output-block` ready to write again. [buffer] > write self. > @ - seq - * - code. - win32 - "WriteFile" - * win32.std-output-handle buffer buffer.size - ^.^.output-block + seq * + code. + win32 + "WriteFile" + * win32.std-output-handle buffer buffer.size + ^.^.output-block diff --git a/objects/org/eolang/io/dead-input.eo b/objects/org/eolang/io/dead-input.eo index 24bd079b..fd0fa28f 100644 --- a/objects/org/eolang/io/dead-input.eo +++ b/objects/org/eolang/io/dead-input.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Dead input is an input that reads from nowhere and always # returns empty sequence of bytes `--`. diff --git a/objects/org/eolang/io/dead-output.eo b/objects/org/eolang/io/dead-output.eo index 4b273881..4432d081 100644 --- a/objects/org/eolang/io/dead-output.eo +++ b/objects/org/eolang/io/dead-output.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Dead output is an output that writes to nowhere. [] > dead-output diff --git a/objects/org/eolang/io/input-length.eo b/objects/org/eolang/io/input-length.eo index 2e2583ed..17f11ff9 100644 --- a/objects/org/eolang/io/input-length.eo +++ b/objects/org/eolang/io/input-length.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Reads all the bytes from provided `input` and returns its length. [input] > input-length diff --git a/objects/org/eolang/io/malloc-as-output.eo b/objects/org/eolang/io/malloc-as-output.eo index 79bfc504..a0cb08f6 100644 --- a/objects/org/eolang/io/malloc-as-output.eo +++ b/objects/org/eolang/io/malloc-as-output.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Makes an output from allocated block in memory. # Here `allocated` is `malloc.of.allocated` object. @@ -65,8 +65,7 @@ # Returns new instance of `output-block` ready to write again. [buffer] > write self. > @ - seq - * - ^.^.^.allocated.write offset buffer - ^.^.output-block - offset.plus buffer.size + seq * + ^.^.^.allocated.write offset buffer + ^.^.output-block + offset.plus buffer.size diff --git a/objects/org/eolang/io/stdin.eo b/objects/org/eolang/io/stdin.eo index e935a64e..ca28f825 100644 --- a/objects/org/eolang/io/stdin.eo +++ b/objects/org/eolang/io/stdin.eo @@ -25,7 +25,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # The `stdin` object is a convenient wrapper on `console` object # which is used as input only and allows to read the data from console. diff --git a/objects/org/eolang/io/stdout.eo b/objects/org/eolang/io/stdout.eo index c5c83873..32c87545 100644 --- a/objects/org/eolang/io/stdout.eo +++ b/objects/org/eolang/io/stdout.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # The `stdout` object is convenient wrapper on `console` object which # uses it as output only and allows to print given argument to console as `string`: @@ -36,7 +36,6 @@ # # Here the "Hello, world!" string is printed to operation system console. [text] > stdout - seq > @ - * - console.write text - true + seq * > @ + console.write text + true diff --git a/objects/org/eolang/io/tee-input.eo b/objects/org/eolang/io/tee-input.eo index eb77560c..aba9e5a3 100644 --- a/objects/org/eolang/io/tee-input.eo +++ b/objects/org/eolang/io/tee-input.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Tee input is an input that reads from provided `input`, # writes to provided `output` and behaves as provided `input`. @@ -66,10 +66,9 @@ (^.input.read size).read.^ > read-bytes (^.output.write read-bytes).write.^ > written-bytes self. > @ - seq - * + seq * + written-bytes + ^.^.input-block + read-bytes written-bytes - ^.^.input-block - read-bytes - written-bytes - read-bytes.as-bytes + read-bytes.as-bytes diff --git a/objects/org/eolang/malloc.eo b/objects/org/eolang/malloc.eo index 5e6d4852..34306801 100644 --- a/objects/org/eolang/malloc.eo +++ b/objects/org/eolang/malloc.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The `malloc` object is an abstraction of a storage of data in heap # memory. The implementation of `malloc` is platform dependent. It may @@ -94,10 +94,9 @@ malloc.of > @ bts.size [m] >> - seq > @ - * - m.write 0 ^.bts - ^.scope m + seq * > @ + m.write 0 ^.bts + ^.scope m # Allocates block in memory of given `size`. After allocation the `size` zero bytes bytes are # written into memory. @@ -134,7 +133,6 @@ # Put `object` into the allocated block in memory. The `object` is supposed to be dataizable. [object] > put - seq > @ - * - ^.write 0 object - ^.get + seq * > @ + ^.write 0 object + ^.get diff --git a/objects/org/eolang/math/angle.eo b/objects/org/eolang/math/angle.eo index ff6cc214..6c08d0d2 100644 --- a/objects/org/eolang/math/angle.eo +++ b/objects/org/eolang/math/angle.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The angle. [value] > angle diff --git a/objects/org/eolang/math/e.eo b/objects/org/eolang/math/e.eo index 4460d62a..54263449 100644 --- a/objects/org/eolang/math/e.eo +++ b/objects/org/eolang/math/e.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # The Euler's number. 2.7182818284590452354 > e diff --git a/objects/org/eolang/math/integral.eo b/objects/org/eolang/math/integral.eo index c67c8017..fcfb5c54 100644 --- a/objects/org/eolang/math/integral.eo +++ b/objects/org/eolang/math/integral.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # Counts integral from `a` to `b`. # Here `func` is integration function, `a` is an upper limit, @@ -53,22 +53,20 @@ [left] >> ^.^.b > right ((right.minus left).div ^.^.n).as-number > step - seq > @ - * - while - [i] >> - if. > @ - (^.left.as-number.plus ^.step).lt ^.right - seq - * - ^.^.sum.put - ^.^.sum.as-number.plus - ^.^.^.subsection - ^.left.as-number - ^.left.as-number.plus ^.step - ^.left.put + seq * > @ + while + [i] >> + if. > @ + (^.left.as-number.plus ^.step).lt ^.right + seq * + ^.^.sum.put + ^.^.sum.as-number.plus + ^.^.^.subsection + ^.left.as-number ^.left.as-number.plus ^.step - true - false - true > [i] - sum + ^.left.put + ^.left.as-number.plus ^.step + true + false + true > [i] + sum diff --git a/objects/org/eolang/math/numbers.eo b/objects/org/eolang/math/numbers.eo index 935bd19b..328ea981 100644 --- a/objects/org/eolang/math/numbers.eo +++ b/objects/org/eolang/math/numbers.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # Sequence of numbers. # Here `sequence` must be a `tuple` or any `tuple` decorator of `number` objects. diff --git a/objects/org/eolang/math/pi.eo b/objects/org/eolang/math/pi.eo index 6114c773..6d01e3c7 100644 --- a/objects/org/eolang/math/pi.eo +++ b/objects/org/eolang/math/pi.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # Returns an approximate PI number. 3.14159265358979323846 > pi diff --git a/objects/org/eolang/math/random.eo b/objects/org/eolang/math/random.eo index e2e9513f..ec3c3f51 100644 --- a/objects/org/eolang/math/random.eo +++ b/objects/org/eolang/math/random.eo @@ -26,7 +26,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # Generates a pseudo-random number. [seed] > random diff --git a/objects/org/eolang/math/real.eo b/objects/org/eolang/math/real.eo index 40e5b3dd..3df18d21 100644 --- a/objects/org/eolang/math/real.eo +++ b/objects/org/eolang/math/real.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.math -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Returns a floating point number. [num] > real diff --git a/objects/org/eolang/nan.eo b/objects/org/eolang/nan.eo index 6ef10747..72b8f475 100644 --- a/objects/org/eolang/nan.eo +++ b/objects/org/eolang/nan.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Not a number. [] > nan diff --git a/objects/org/eolang/negative-infinity.eo b/objects/org/eolang/negative-infinity.eo index 7cbb9fd5..20dc6024 100644 --- a/objects/org/eolang/negative-infinity.eo +++ b/objects/org/eolang/negative-infinity.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Negative infinity. [] > negative-infinity diff --git a/objects/org/eolang/net/socket.eo b/objects/org/eolang/net/socket.eo index 06cb65ea..58cf8ee9 100644 --- a/objects/org/eolang/net/socket.eo +++ b/objects/org/eolang/net/socket.eo @@ -27,7 +27,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.net -+version 0.49.4 ++version 0.50.0 # Socket. # @@ -120,10 +120,9 @@ [size] > read (^.^.^.recv size).as-bytes > read-bytes self. > @ - seq - * - read-bytes - ^.^.input-block read-bytes + seq * + read-bytes + ^.^.input-block read-bytes # Makes an `output` from posix socket. # The object allows to use `socket` as output stream and `write` to it sequentially. @@ -151,10 +150,9 @@ # Returns new instance of `output-block` ready to write again. [buffer] > write self. > @ - seq - * - ^.^.^.send buffer - ^.^.output-block + seq * + ^.^.^.send buffer + ^.^.output-block # Posix platform specified socket. # diff --git a/objects/org/eolang/number.eo b/objects/org/eolang/number.eo index 611827f0..7dd19549 100644 --- a/objects/org/eolang/number.eo +++ b/objects/org/eolang/number.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The `number` object is an abstraction of a 64-bit floating-point # number that internally is a chain of eight bytes. diff --git a/objects/org/eolang/positive-infinity.eo b/objects/org/eolang/positive-infinity.eo index 8f908f04..8a1ca334 100644 --- a/objects/org/eolang/positive-infinity.eo +++ b/objects/org/eolang/positive-infinity.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Positive infinity. [] > positive-infinity diff --git a/objects/org/eolang/seq.eo b/objects/org/eolang/seq.eo index 6bf32e03..944fe75a 100644 --- a/objects/org/eolang/seq.eo +++ b/objects/org/eolang/seq.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Sequence. # The object, when being dataized, dataizes all provided diff --git a/objects/org/eolang/string.eo b/objects/org/eolang/string.eo index 43c15ffa..e554a025 100644 --- a/objects/org/eolang/string.eo +++ b/objects/org/eolang/string.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # The `string` object is an abstraction of a text string, which # internally is a chain of bytes. diff --git a/objects/org/eolang/structs/bytes-as-array.eo b/objects/org/eolang/structs/bytes-as-array.eo index c5cf3a81..47a2997e 100644 --- a/objects/org/eolang/structs/bytes-as-array.eo +++ b/objects/org/eolang/structs/bytes-as-array.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # Represents sequence of bytes as array. # Here `bts` is `bytes` objects, the return value is `tuple` where diff --git a/objects/org/eolang/structs/hash-code-of.eo b/objects/org/eolang/structs/hash-code-of.eo index 283df182..28005240 100644 --- a/objects/org/eolang/structs/hash-code-of.eo +++ b/objects/org/eolang/structs/hash-code-of.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # Hash code - the pseudo-unique float numeric # representation of an object. diff --git a/objects/org/eolang/structs/list.eo b/objects/org/eolang/structs/list.eo index 6890254a..16636f1f 100644 --- a/objects/org/eolang/structs/list.eo +++ b/objects/org/eolang/structs/list.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # List implements based operations on collections like reducing, mapping, filtering, etc. # Decorates and extends `tuple`. @@ -111,10 +111,9 @@ ^.reducedi > @ true [acc item index] >> - seq > @ - * - acc - ^.func item index + seq * > @ + acc + ^.func item index # For each collection element dataize the object # Here "func" must be an abstract object with @@ -202,10 +201,6 @@ ^.index-of element # Returns a new list sorted via `.lt` method. - # @todo #3251:30min The object does not work. After moving `list` object - # to eo-runtime this is the only method which does not work because it's quite - # hard to implement properly, especially after big changes in EO semantic. - # We need to get it done and write some tests for it. ^ > [] > sorted # Filter list with index with the function `func`. diff --git a/objects/org/eolang/structs/map.eo b/objects/org/eolang/structs/map.eo index 2684a337..0466ec31 100644 --- a/objects/org/eolang/structs/map.eo +++ b/objects/org/eolang/structs/map.eo @@ -26,7 +26,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # Hash-map. # Here `pairs` must be a `tuple` of `tuple`s where each sub-tuple consists of 2 @@ -100,14 +100,6 @@ # or `false` if was not. # The `get` attribute returns either found object, or `error` if # the object wasn't found. - # @todo #3251:30min Find a way to link hash code and index of key. - # Right now map is implemented as `tuple` of objects where every - # element is composition of three entities: hash, key and value. - # When we try to find an element in hash map by key (K1) we're - # calculating hash of K1 (H1) and trying to find the entity where - # `entity.hash` (H2) is equal to H1. This search is implemented by - # simple reducing initial hash map `tuple` and obviously slow - O(n). - # We need to find a way to get a right index of entity in hash map # `tuple` just by applying some simple operation on H1, similar to it's # implemented in other programming languages. Then we'll get O(1) on # `found` operation. diff --git a/objects/org/eolang/structs/range-of-ints.eo b/objects/org/eolang/structs/range-of-ints.eo index c9dbbda2..a3351a1b 100644 --- a/objects/org/eolang/structs/range-of-ints.eo +++ b/objects/org/eolang/structs/range-of-ints.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # Range of integers from `start` to `end` (soft border) with step = 1. # Here `start` and `end` must be `int`s. If they're not - an error will diff --git a/objects/org/eolang/structs/range.eo b/objects/org/eolang/structs/range.eo index 39ec3bff..abde9ef7 100644 --- a/objects/org/eolang/structs/range.eo +++ b/objects/org/eolang/structs/range.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # Range - create a `list` containing a range of elements # Here `start` must be a abstract object that must have an object `next` to get diff --git a/objects/org/eolang/structs/set.eo b/objects/org/eolang/structs/set.eo index b7e189d0..6837102b 100644 --- a/objects/org/eolang/structs/set.eo +++ b/objects/org/eolang/structs/set.eo @@ -25,7 +25,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # Set - is an unordered `list` of unique objects. [lst] > set diff --git a/objects/org/eolang/switch.eo b/objects/org/eolang/switch.eo index 45072bec..1607d1fc 100644 --- a/objects/org/eolang/switch.eo +++ b/objects/org/eolang/switch.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # The object allows to choose right options according to cases conditions. # Parameter cases is the array of two dimensional array, which diff --git a/objects/org/eolang/sys/getenv.eo b/objects/org/eolang/sys/getenv.eo index 5c380c78..d87fff6b 100644 --- a/objects/org/eolang/sys/getenv.eo +++ b/objects/org/eolang/sys/getenv.eo @@ -26,7 +26,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.sys -+version 0.49.4 ++version 0.50.0 # Get environment variable as `string`. # If return `string` is empty - the variable does not exist. diff --git a/objects/org/eolang/sys/line-separator.eo b/objects/org/eolang/sys/line-separator.eo index a763b517..ba1721f0 100644 --- a/objects/org/eolang/sys/line-separator.eo +++ b/objects/org/eolang/sys/line-separator.eo @@ -24,7 +24,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.sys -+version 0.49.4 ++version 0.50.0 # Returns the system-dependent line separator string. # On UNIX systems, it returns "\n"; diff --git a/objects/org/eolang/sys/os.eo b/objects/org/eolang/sys/os.eo index 4c2a9a5b..e6569aac 100644 --- a/objects/org/eolang/sys/os.eo +++ b/objects/org/eolang/sys/os.eo @@ -24,9 +24,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.sys -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Represents the name of the operating system. [] > os diff --git a/objects/org/eolang/sys/posix.eo b/objects/org/eolang/sys/posix.eo index fe60f82c..9153518f 100644 --- a/objects/org/eolang/sys/posix.eo +++ b/objects/org/eolang/sys/posix.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.sys -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Makes a Unix syscall by name with POSIX interface. # See https://filippo.io/linux-syscall-table/. diff --git a/objects/org/eolang/sys/win32.eo b/objects/org/eolang/sys/win32.eo index 1fc3f75f..1706c1b4 100644 --- a/objects/org/eolang/sys/win32.eo +++ b/objects/org/eolang/sys/win32.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.sys -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Makes a kernel32.dll function call by name. # diff --git a/objects/org/eolang/true.eo b/objects/org/eolang/true.eo index d7708150..1954abc0 100644 --- a/objects/org/eolang/true.eo +++ b/objects/org/eolang/true.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # The object is a TRUE boolean state. [] > true diff --git a/objects/org/eolang/try.eo b/objects/org/eolang/try.eo index 9f67641c..39fa14b3 100644 --- a/objects/org/eolang/try.eo +++ b/objects/org/eolang/try.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Try, catch and finally. This object helps catch errors created by the # `error` object. When being dataized, such objects will crash the problem. diff --git a/objects/org/eolang/tuple.eo b/objects/org/eolang/tuple.eo index 68b17171..db962384 100644 --- a/objects/org/eolang/tuple.eo +++ b/objects/org/eolang/tuple.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # Tuple. [head tail] > tuple diff --git a/objects/org/eolang/txt/regex.eo b/objects/org/eolang/txt/regex.eo index c6b938cb..9bc6800e 100644 --- a/objects/org/eolang/txt/regex.eo +++ b/objects/org/eolang/txt/regex.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.txt -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Regular expression in Perl format. # Here `pattern` is a string pattern. diff --git a/objects/org/eolang/txt/sprintf.eo b/objects/org/eolang/txt/sprintf.eo index 2fb7eaba..9de9973d 100644 --- a/objects/org/eolang/txt/sprintf.eo +++ b/objects/org/eolang/txt/sprintf.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.txt -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # The sprintf object allows you to format and output text depending # on the arguments passed to it. diff --git a/objects/org/eolang/txt/sscanf.eo b/objects/org/eolang/txt/sscanf.eo index b94fd4b8..30dede27 100644 --- a/objects/org/eolang/txt/sscanf.eo +++ b/objects/org/eolang/txt/sscanf.eo @@ -23,9 +23,9 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.txt -+rt jvm org.eolang:eo-runtime:0.49.4 ++rt jvm org.eolang:eo-runtime:0.50.0 +rt node eo2js-runtime:0.0.0 -+version 0.49.4 ++version 0.50.0 # Reads formatted input from a string. # This object has two free attributes: diff --git a/objects/org/eolang/txt/text.eo b/objects/org/eolang/txt/text.eo index 69a6ad75..89fbaf64 100644 --- a/objects/org/eolang/txt/text.eo +++ b/objects/org/eolang/txt/text.eo @@ -28,7 +28,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang.txt -+version 0.49.4 ++version 0.50.0 # Text. [origin] > text diff --git a/objects/org/eolang/while.eo b/objects/org/eolang/while.eo index db0f575a..531ce363 100644 --- a/objects/org/eolang/while.eo +++ b/objects/org/eolang/while.eo @@ -23,7 +23,7 @@ +architect yegor256@gmail.com +home https://github.com/objectionary/eo +package org.eolang -+version 0.49.4 ++version 0.50.0 # The `while` object is very similar to a loop with a pre-condition. # Here's how you can use it: @@ -63,8 +63,7 @@ body index > current if. > @ (condition (index.plus 1)).as-bool - seq - * - current - ^.loop (index.plus 1) + seq * + current + ^.loop (index.plus 1) current diff --git a/tests/org/eolang/bool-tests.eo b/tests/org/eolang/bool-tests.eo index 72bb6592..91870d42 100644 --- a/tests/org/eolang/bool-tests.eo +++ b/tests/org/eolang/bool-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > compares-two-bools diff --git a/tests/org/eolang/bytes-tests.eo b/tests/org/eolang/bytes-tests.eo index 9ce20a39..70feebb7 100644 --- a/tests/org/eolang/bytes-tests.eo +++ b/tests/org/eolang/bytes-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > takes-part-of-bytes diff --git a/tests/org/eolang/cti-test.eo b/tests/org/eolang/cti-test.eo index adf55399..b8a3823d 100644 --- a/tests/org/eolang/cti-test.eo +++ b/tests/org/eolang/cti-test.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > just-prints-warning diff --git a/tests/org/eolang/dataized-tests.eo b/tests/org/eolang/dataized-tests.eo index 3816bb60..19db1c01 100644 --- a/tests/org/eolang/dataized-tests.eo +++ b/tests/org/eolang/dataized-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > dataized-does-not-do-recalculation diff --git a/tests/org/eolang/fs/dir-tests.eo b/tests/org/eolang/fs/dir-tests.eo index 2d64857c..7144439a 100644 --- a/tests/org/eolang/fs/dir-tests.eo +++ b/tests/org/eolang/fs/dir-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.fs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > bound-tmpfile-does-not-recreates-file diff --git a/tests/org/eolang/fs/file-tests.eo b/tests/org/eolang/fs/file-tests.eo index 11d39af9..2269bb16 100644 --- a/tests/org/eolang/fs/file-tests.eo +++ b/tests/org/eolang/fs/file-tests.eo @@ -29,7 +29,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.fs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > check-if-current-directory-is-directory diff --git a/tests/org/eolang/fs/path-tests.eo b/tests/org/eolang/fs/path-tests.eo index e4f6a779..6a8d6f88 100644 --- a/tests/org/eolang/fs/path-tests.eo +++ b/tests/org/eolang/fs/path-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.fs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > determines-separator-depending-on-os diff --git a/tests/org/eolang/fs/tmpdir-tests.eo b/tests/org/eolang/fs/tmpdir-tests.eo index 65747908..c7409d86 100644 --- a/tests/org/eolang/fs/tmpdir-tests.eo +++ b/tests/org/eolang/fs/tmpdir-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.fs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. tmpdir.exists > [] > global-temp-dir-exists diff --git a/tests/org/eolang/go-tests.eo b/tests/org/eolang/go-tests.eo index 842ec180..890f403c 100644 --- a/tests/org/eolang/go-tests.eo +++ b/tests/org/eolang/go-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > goto-jumps-backwards diff --git a/tests/org/eolang/i16-tests.eo b/tests/org/eolang/i16-tests.eo index 77ca5491..88803582 100644 --- a/tests/org/eolang/i16-tests.eo +++ b/tests/org/eolang/i16-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > i16-has-valid-bytes diff --git a/tests/org/eolang/i32-tests.eo b/tests/org/eolang/i32-tests.eo index 744b7c51..c12b8edd 100644 --- a/tests/org/eolang/i32-tests.eo +++ b/tests/org/eolang/i32-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > i32-has-valid-bytes diff --git a/tests/org/eolang/i64-tests.eo b/tests/org/eolang/i64-tests.eo index e6a35d3f..a3d20200 100644 --- a/tests/org/eolang/i64-tests.eo +++ b/tests/org/eolang/i64-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > i64-has-valid-bytes diff --git a/tests/org/eolang/io/bytes-as-input-test.eo b/tests/org/eolang/io/bytes-as-input-test.eo index 4a23c434..bb7eb26f 100644 --- a/tests/org/eolang/io/bytes-as-input-test.eo +++ b/tests/org/eolang/io/bytes-as-input-test.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > makes-an-input-from-bytes-and-reads diff --git a/tests/org/eolang/io/console-test.eo b/tests/org/eolang/io/console-test.eo index 36cd1059..d3c79694 100644 --- a/tests/org/eolang/io/console-test.eo +++ b/tests/org/eolang/io/console-test.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Prints a simple message to the console. We can't validate # the output, so we just run it and see if it crashes. diff --git a/tests/org/eolang/io/dead-input-tests.eo b/tests/org/eolang/io/dead-input-tests.eo index cb617af9..afe8a463 100644 --- a/tests/org/eolang/io/dead-input-tests.eo +++ b/tests/org/eolang/io/dead-input-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > reads-empty-bytes diff --git a/tests/org/eolang/io/dead-output-tests.eo b/tests/org/eolang/io/dead-output-tests.eo index 657e18a1..a67865f4 100644 --- a/tests/org/eolang/io/dead-output-tests.eo +++ b/tests/org/eolang/io/dead-output-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. dead-output.write 01-02-03 > [] > writes-bytes-to-nowhere diff --git a/tests/org/eolang/io/input-length-tests.eo b/tests/org/eolang/io/input-length-tests.eo index 4a2acc01..bc78f99a 100644 --- a/tests/org/eolang/io/input-length-tests.eo +++ b/tests/org/eolang/io/input-length-tests.eo @@ -28,7 +28,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > reads-all-bytes-and-returns-length diff --git a/tests/org/eolang/io/malloc-as-output-test.eo b/tests/org/eolang/io/malloc-as-output-test.eo index 7183db9c..da0dce6a 100644 --- a/tests/org/eolang/io/malloc-as-output-test.eo +++ b/tests/org/eolang/io/malloc-as-output-test.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > makes-an-output-from-malloc-and-writes diff --git a/tests/org/eolang/io/stdout-test.eo b/tests/org/eolang/io/stdout-test.eo index 8a94dfa9..86a2a741 100644 --- a/tests/org/eolang/io/stdout-test.eo +++ b/tests/org/eolang/io/stdout-test.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # Prints a simple message to the console. We can't validate # the output, so we just run it and see if it crashes. diff --git a/tests/org/eolang/io/tee-input-tests.eo b/tests/org/eolang/io/tee-input-tests.eo index c5176866..81a8845a 100644 --- a/tests/org/eolang/io/tee-input-tests.eo +++ b/tests/org/eolang/io/tee-input-tests.eo @@ -27,7 +27,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.io -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > reads-from-bytes-and-writes-to-memory diff --git a/tests/org/eolang/malloc-tests.eo b/tests/org/eolang/malloc-tests.eo index 4d6cf89a..a29edf3b 100644 --- a/tests/org/eolang/malloc-tests.eo +++ b/tests/org/eolang/malloc-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > writes-into-memory-of diff --git a/tests/org/eolang/math/angle-tests.eo b/tests/org/eolang/math/angle-tests.eo index b81fc3f3..773926c9 100644 --- a/tests/org/eolang/math/angle-tests.eo +++ b/tests/org/eolang/math/angle-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > sin-zero diff --git a/tests/org/eolang/math/integral-tests.eo b/tests/org/eolang/math/integral-tests.eo index 3fa3fb9a..264756f5 100644 --- a/tests/org/eolang/math/integral-tests.eo +++ b/tests/org/eolang/math/integral-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > calculates-lineal-integral diff --git a/tests/org/eolang/math/numbers-tests.eo b/tests/org/eolang/math/numbers-tests.eo index d47ea994..c0d6fea1 100644 --- a/tests/org/eolang/math/numbers-tests.eo +++ b/tests/org/eolang/math/numbers-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. (numbers *).max > [] > throws-on-taking-max-from-empty-sequence-of-numbers diff --git a/tests/org/eolang/math/random-tests.eo b/tests/org/eolang/math/random-tests.eo index f33998bf..ef8732dc 100644 --- a/tests/org/eolang/math/random-tests.eo +++ b/tests/org/eolang/math/random-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > random-with-seed diff --git a/tests/org/eolang/math/real-tests.eo b/tests/org/eolang/math/real-tests.eo index e2f2ab16..69809421 100644 --- a/tests/org/eolang/math/real-tests.eo +++ b/tests/org/eolang/math/real-tests.eo @@ -27,7 +27,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.math -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > abs-int-positive diff --git a/tests/org/eolang/nan-tests.eo b/tests/org/eolang/nan-tests.eo index e7bba890..b11b1cd9 100644 --- a/tests/org/eolang/nan-tests.eo +++ b/tests/org/eolang/nan-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +package org.eolang +tests -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > nan-not-eq-number diff --git a/tests/org/eolang/negative-infinity-tests.eo b/tests/org/eolang/negative-infinity-tests.eo index 1c24696e..4ae88362 100644 --- a/tests/org/eolang/negative-infinity-tests.eo +++ b/tests/org/eolang/negative-infinity-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +package org.eolang +tests -+version 0.49.4 ++version 0.50.0 # Equal to. [] > negative-infinity-is-equal-to-one-div-zero diff --git a/tests/org/eolang/number-tests.eo b/tests/org/eolang/number-tests.eo index 3e0e15fc..d5022f66 100644 --- a/tests/org/eolang/number-tests.eo +++ b/tests/org/eolang/number-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > int-less-true diff --git a/tests/org/eolang/positive-infinity-tests.eo b/tests/org/eolang/positive-infinity-tests.eo index f825c303..f4aca9f6 100644 --- a/tests/org/eolang/positive-infinity-tests.eo +++ b/tests/org/eolang/positive-infinity-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +package org.eolang +tests -+version 0.49.4 ++version 0.50.0 # Equal to. [] > positive-infinity-is-equal-to-one-div-zero diff --git a/tests/org/eolang/runtime-tests.eo b/tests/org/eolang/runtime-tests.eo index 11443ca3..b7a7a9ec 100644 --- a/tests/org/eolang/runtime-tests.eo +++ b/tests/org/eolang/runtime-tests.eo @@ -25,7 +25,7 @@ +tests +package org.eolang +unlint abstract-decoratee -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > understands-this-correctly @@ -335,6 +335,28 @@ build 2 > @ 9 +# This unit test is supposed to check the functionality of the corresponding object. +[] > with-void-phi + [@] > x + "Hello" > hello + x 5 > five + and. > @ + (five.plus 5).eq 10 + five.hello.eq "Hello" + +# This unit test is supposed to check the functionality of the corresponding object. +[] (seq (* (five.eq 5) true) > @) (5 > five) > complex-horizontal + +# This unit test is supposed to check the functionality of the corresponding object. +[] > vertical-bound-method + eq. > @ + if. + true + "second":1 + "first" + .as-bytes:0 + "first" + # Nesting blah test. [] > nesting-blah-test blah0 > @ diff --git a/tests/org/eolang/seq-tests.eo b/tests/org/eolang/seq-tests.eo index 71cb82dd..90c39a71 100644 --- a/tests/org/eolang/seq-tests.eo +++ b/tests/org/eolang/seq-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > seq-single-dataization-float-less diff --git a/tests/org/eolang/string-tests.eo b/tests/org/eolang/string-tests.eo index 20429fb3..1d577e86 100644 --- a/tests/org/eolang/string-tests.eo +++ b/tests/org/eolang/string-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > calculates-length-of-spaces-only diff --git a/tests/org/eolang/structs/bytes-as-array-tests.eo b/tests/org/eolang/structs/bytes-as-array-tests.eo index 14a4b6e3..6683c56e 100644 --- a/tests/org/eolang/structs/bytes-as-array-tests.eo +++ b/tests/org/eolang/structs/bytes-as-array-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > converts-bytes-to-array diff --git a/tests/org/eolang/structs/hash-code-of-tests.eo b/tests/org/eolang/structs/hash-code-of-tests.eo index 37bbafea..c76b7821 100644 --- a/tests/org/eolang/structs/hash-code-of-tests.eo +++ b/tests/org/eolang/structs/hash-code-of-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > hash-code-of-bools-is-number diff --git a/tests/org/eolang/structs/list-tests.eo b/tests/org/eolang/structs/list-tests.eo index 21d17d88..6d150caa 100644 --- a/tests/org/eolang/structs/list-tests.eo +++ b/tests/org/eolang/structs/list-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > list-should-not-be-empty diff --git a/tests/org/eolang/structs/map-tests.eo b/tests/org/eolang/structs/map-tests.eo index 80c0fe7e..900585d5 100644 --- a/tests/org/eolang/structs/map-tests.eo +++ b/tests/org/eolang/structs/map-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > map-rebuilds-itself diff --git a/tests/org/eolang/structs/range-of-ints-tests.eo b/tests/org/eolang/structs/range-of-ints-tests.eo index 1e851e75..fee22fbe 100644 --- a/tests/org/eolang/structs/range-of-ints-tests.eo +++ b/tests/org/eolang/structs/range-of-ints-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > simple-range-of-ints-from-one-to-ten diff --git a/tests/org/eolang/structs/range-tests.eo b/tests/org/eolang/structs/range-tests.eo index c485837b..28ab9812 100644 --- a/tests/org/eolang/structs/range-tests.eo +++ b/tests/org/eolang/structs/range-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > simple-range-from-one-to-ten diff --git a/tests/org/eolang/structs/set-tests.eo b/tests/org/eolang/structs/set-tests.eo index 405619e3..84838d8f 100644 --- a/tests/org/eolang/structs/set-tests.eo +++ b/tests/org/eolang/structs/set-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.structs -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > set-rebuilds-itself diff --git a/tests/org/eolang/switch-tests.eo b/tests/org/eolang/switch-tests.eo index 094d1e14..5d14ee5e 100644 --- a/tests/org/eolang/switch-tests.eo +++ b/tests/org/eolang/switch-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > switch-simple-case diff --git a/tests/org/eolang/sys/os-tests.eo b/tests/org/eolang/sys/os-tests.eo index 5dce99b7..440c0f48 100644 --- a/tests/org/eolang/sys/os-tests.eo +++ b/tests/org/eolang/sys/os-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.sys -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > checks-os-family diff --git a/tests/org/eolang/sys/posix-tests.eo b/tests/org/eolang/sys/posix-tests.eo index 44d89746..3dfcdd88 100644 --- a/tests/org/eolang/sys/posix-tests.eo +++ b/tests/org/eolang/sys/posix-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.sys -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > invokes-getpid-correctly diff --git a/tests/org/eolang/sys/win32-tests.eo b/tests/org/eolang/sys/win32-tests.eo index 32f1961a..b3255f76 100644 --- a/tests/org/eolang/sys/win32-tests.eo +++ b/tests/org/eolang/sys/win32-tests.eo @@ -26,7 +26,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.sys -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > returns-valid-win32-inet-addr-for-localhost diff --git a/tests/org/eolang/try-tests.eo b/tests/org/eolang/try-tests.eo index b4338f3a..12424f1d 100644 --- a/tests/org/eolang/try-tests.eo +++ b/tests/org/eolang/try-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > catches-simple-exception diff --git a/tests/org/eolang/tuple-tests.eo b/tests/org/eolang/tuple-tests.eo index 0456c306..c27a2567 100644 --- a/tests/org/eolang/tuple-tests.eo +++ b/tests/org/eolang/tuple-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > makes-tuple-through-special-syntax diff --git a/tests/org/eolang/txt/regex-tests.eo b/tests/org/eolang/txt/regex-tests.eo index e9fb2977..940fe66a 100644 --- a/tests/org/eolang/txt/regex-tests.eo +++ b/tests/org/eolang/txt/regex-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.txt -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > matches-regex-against-the-pattern diff --git a/tests/org/eolang/txt/sprintf-tests.eo b/tests/org/eolang/txt/sprintf-tests.eo index 253aee84..2c184e04 100644 --- a/tests/org/eolang/txt/sprintf-tests.eo +++ b/tests/org/eolang/txt/sprintf-tests.eo @@ -25,7 +25,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.txt -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > prints-simple-string diff --git a/tests/org/eolang/txt/sscanf-tests.eo b/tests/org/eolang/txt/sscanf-tests.eo index ead0933c..62d498da 100644 --- a/tests/org/eolang/txt/sscanf-tests.eo +++ b/tests/org/eolang/txt/sscanf-tests.eo @@ -27,7 +27,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.txt -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > sscanf-with-string diff --git a/tests/org/eolang/txt/text-tests.eo b/tests/org/eolang/txt/text-tests.eo index 83f47a53..c8da4137 100644 --- a/tests/org/eolang/txt/text-tests.eo +++ b/tests/org/eolang/txt/text-tests.eo @@ -27,7 +27,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang.txt -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > text-slices-the-origin-string diff --git a/tests/org/eolang/while-tests.eo b/tests/org/eolang/while-tests.eo index 8d1d1037..dc504fe9 100644 --- a/tests/org/eolang/while-tests.eo +++ b/tests/org/eolang/while-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.49.4 ++version 0.50.0 # This unit test is supposed to check the functionality of the corresponding object. [] > while-dataizes-only-first-cycle