diff --git a/make/jvm/pom.xml b/make/jvm/pom.xml index 67b1d63b..09a32558 100644 --- a/make/jvm/pom.xml +++ b/make/jvm/pom.xml @@ -28,7 +28,7 @@ SOFTWARE. jvm 1.0-SNAPSHOT - 0.46.0 + 0.48.1 32M 2G diff --git a/objects/org/eolang/as-phi.eo b/objects/org/eolang/as-phi.eo index fba9efa8..9d320c71 100644 --- a/objects/org/eolang/as-phi.eo +++ b/objects/org/eolang/as-phi.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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # Turns an object into a phi-term printable to console. # diff --git a/objects/org/eolang/bytes.eo b/objects/org/eolang/bytes.eo index 93eebca3..affe43ce 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # The object encapsulates a chain of bytes, adding a few # convenient operations to it. Objects like `int`, `string`, @@ -35,7 +35,6 @@ data > @ $ > as-bytes $.eq 01- > as-bool - string $ > as-string # Turn this chain of eight bytes into a number. # If there are less or more than eight bytes, there will diff --git a/objects/org/eolang/cti.eo b/objects/org/eolang/cti.eo index 371cfa94..b90ff86a 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.46.0 ++version 0.48.1 # Compile Time Instruction (CTI). # diff --git a/objects/org/eolang/dataized.eo b/objects/org/eolang/dataized.eo index aba83df3..9c9266b9 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.46.0 ++version 0.48.1 # 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 9b11f4e9..ca77e306 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 4e7ae600..8d67adea 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.46.0 ++version 0.48.1 # 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 c7c460e9..01f065f8 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # Directory in the file system. # Apparently every directory is a file. @@ -90,7 +90,8 @@ [] > tmpfile if. > @ ^.exists - QQ.fs.file touch.as-bytes.as-string + QQ.fs.file + string touch.as-bytes error sprintf "Directory %s does not exist, can't create temporary file" diff --git a/objects/org/eolang/fs/file.eo b/objects/org/eolang/fs/file.eo index 1762739e..13493c98 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # A file on the filesystem. [path] > file @@ -78,7 +78,8 @@ # Move current file to `target`, making and returning a new `file` from it. [target] > moved - QQ.fs.file move.as-bytes.as-string > @ + QQ.fs.file > @ + string move.as-bytes # Tries to move file from `^.path` to `target` # and returns path of moved file as `string`. diff --git a/objects/org/eolang/fs/path.eo b/objects/org/eolang/fs/path.eo index b3cac994..0004be6e 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.46.0 ++version 0.48.1 # 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. @@ -43,7 +43,7 @@ # Utility object that joins given `tuple` of paths with current OS separator # and normalizes result path. [paths] > joined - as-string. > joined-path + string > joined-path as-bytes. joined. text ^.separator @@ -132,11 +132,10 @@ -- determined. > @ ^.^.posix - as-string. - if. - normalized.eq "//" - "/" - normalized + if. + normalized.eq "//" + "/" + string normalized # Resolves `other` path against `^.uri` and returns as new `path` from it. # The original `uri` and resolving `other` may be: @@ -269,7 +268,7 @@ "\\" > separator determined. > @ validated - as-string. + string as-bytes. validated.separated-correctly uri @@ -397,11 +396,10 @@ -- determined. > @ ^.^.validated - as-string. - if. - normalized.eq "\\\\" - ^.separator - normalized + if. + normalized.eq "\\\\" + ^.separator + string normalized # Resolves `other` path against `^.uri` and returns as new `path` from it. # Original `uri` and `other` path for resolving may be: diff --git a/objects/org/eolang/fs/tmpdir.eo b/objects/org/eolang/fs/tmpdir.eo index 76bdab7b..5a1e3617 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.46.0 ++version 0.48.1 # 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 f977baba..9a468a1a 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.46.0 ++version 0.48.1 # 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 5d4d80d2..6910db59 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 c55210aa..6867402e 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 47a28619..bf8786b7 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 371f4388..d4541be5 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.46.0 ++version 0.48.1 # 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 e21adec6..6d32c1b9 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.46.0 ++version 0.48.1 # The `console` object is basic I/O object that allows to # interact with operation system console. diff --git a/objects/org/eolang/io/dead-input.eo b/objects/org/eolang/io/dead-input.eo index 29ba921a..2637e47c 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.46.0 ++version 0.48.1 # 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 f07a731b..b9d1ca01 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.46.0 ++version 0.48.1 # 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 439dcfa8..80abcf1a 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.46.0 ++version 0.48.1 # 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 dae8ef56..1adcf079 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.46.0 ++version 0.48.1 # Makes an output from allocated block in memory. # Here `allocated` is `malloc.of.allocated` object. diff --git a/objects/org/eolang/io/stdin.eo b/objects/org/eolang/io/stdin.eo index c5e1118c..8971bc9f 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.46.0 ++version 0.48.1 # 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 0752b77a..657c52fe 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.46.0 ++version 0.48.1 # 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`: diff --git a/objects/org/eolang/io/tee-input.eo b/objects/org/eolang/io/tee-input.eo index 628662fd..12ba7446 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.46.0 ++version 0.48.1 # Tee input is an input that reads from provided `input`, # writes to provided `output` and behaves as provided `input`. diff --git a/objects/org/eolang/malloc.eo b/objects/org/eolang/malloc.eo index f206eeaf..983f9494 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # The `malloc` object is an abstraction of a storage of data in heap # memory. The implementation of `malloc` is platform dependent. It may @@ -81,6 +81,12 @@ # Here the void attribute in the scope object is memory-block object which provides API to write # and read data to the memory. [] > malloc + # Allocates empty block in memory. + [scope] > empty + malloc.of > @ + 0 + scope + # Allocates block in memory for given `object`. After allocation the provided object is dataized # and the data are written into memory. [object scope] > for diff --git a/objects/org/eolang/math/angle.eo b/objects/org/eolang/math/angle.eo index af672221..0e877d19 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # The angle. [value] > angle diff --git a/objects/org/eolang/math/e.eo b/objects/org/eolang/math/e.eo index b9b7ba7e..6802d519 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.46.0 ++version 0.48.1 # The Euler's number 2.7182818284590452354 > e diff --git a/objects/org/eolang/math/integral.eo b/objects/org/eolang/math/integral.eo index 1e8e237b..7f7207e5 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.46.0 ++version 0.48.1 # Counts integral from `a` to `b`. # Here `func` is integration function, `a` is an upper limit, diff --git a/objects/org/eolang/math/numbers.eo b/objects/org/eolang/math/numbers.eo index 1bb9dd34..db71c080 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.46.0 ++version 0.48.1 # 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 f6f35293..4e71da19 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.46.0 ++version 0.48.1 # The PI number 3.14159265358979323846 > pi diff --git a/objects/org/eolang/math/random.eo b/objects/org/eolang/math/random.eo index 265d2171..68840420 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.46.0 ++version 0.48.1 # Pseudo random number. [seed] > random diff --git a/objects/org/eolang/math/real.eo b/objects/org/eolang/math/real.eo index 712a1af2..9c7b00c5 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # Real number. [num] > real diff --git a/objects/org/eolang/nan.eo b/objects/org/eolang/nan.eo index 21fa07c5..fc172c47 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.46.0 ++version 0.48.1 # Not a number. [] > nan diff --git a/objects/org/eolang/negative-infinity.eo b/objects/org/eolang/negative-infinity.eo index 0a939ca5..9bfb458b 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.46.0 ++version 0.48.1 # Negative infinity. [] > negative-infinity diff --git a/objects/org/eolang/net/socket.eo b/objects/org/eolang/net/socket.eo index 404fc7ea..52b447b4 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.46.0 ++version 0.48.1 # Socket. # diff --git a/objects/org/eolang/number.eo b/objects/org/eolang/number.eo index 015ae09e..eaef186a 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 952ee41a..bd8aca4c 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.46.0 ++version 0.48.1 # Positive infinity. [] > positive-infinity diff --git a/objects/org/eolang/rust.eo b/objects/org/eolang/rust.eo index 862de34e..e371cd1b 100644 --- a/objects/org/eolang/rust.eo +++ b/objects/org/eolang/rust.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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # Rust insert. [code portal params] > rust /? diff --git a/objects/org/eolang/seq.eo b/objects/org/eolang/seq.eo index e37493ca..0256befe 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.46.0 ++version 0.48.1 # Sequence. # The object, when being dataized, dataizes all provided diff --git a/objects/org/eolang/string.eo b/objects/org/eolang/string.eo index 3d9cee97..d676c731 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.46.0 ++version 0.48.1 # 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 c2d8beb4..1551098e 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.46.0 ++version 0.48.1 # 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 64032d9f..d036c4f2 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.46.0 ++version 0.48.1 # 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 b4490e6a..5e06d0f7 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.46.0 ++version 0.48.1 # List implements based operations on collections like reducing, mapping, filtering, etc. # Decorates and extends `tuple`. diff --git a/objects/org/eolang/structs/map.eo b/objects/org/eolang/structs/map.eo index 46813eb5..4c5b8c97 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.46.0 ++version 0.48.1 # Hash-map. # Here `pairs` must be a `tuple` of `tuple`s where each sub-tuple consists of 2 diff --git a/objects/org/eolang/structs/range-of-ints.eo b/objects/org/eolang/structs/range-of-ints.eo index 1a8edef7..0c61e0f5 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.46.0 ++version 0.48.1 # 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 93efc4c0..fed9d3b3 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.46.0 ++version 0.48.1 # 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 e995918c..aa78f7ad 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.46.0 ++version 0.48.1 # 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 e11b43b7..5abfe514 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.46.0 ++version 0.48.1 # 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 81fb6e48..560933d2 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.46.0 ++version 0.48.1 # 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 f788551c..c4ba9c57 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.46.0 ++version 0.48.1 # 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 1953956a..ed25e70a 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 70e1402c..834f9e3a 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 d875f691..e044a389 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # Makes a kernel32.dll function call by name. # diff --git a/objects/org/eolang/true.eo b/objects/org/eolang/true.eo index 732c5404..de2839fd 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.46.0 ++version 0.48.1 # The object is a TRUE boolean state. [] > true diff --git a/objects/org/eolang/try.eo b/objects/org/eolang/try.eo index e395ad3d..7d0d0d7a 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 4a723eb9..bd4cbf37 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.46.0 ++version 0.48.1 # Tuple. [head tail] > tuple diff --git a/objects/org/eolang/txt/regex.eo b/objects/org/eolang/txt/regex.eo index ec21bc7c..2e9d6e90 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 6c3c3ee2..549128a9 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 f71cf227..03470a78 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.46.0 ++rt jvm org.eolang:eo-runtime:0.48.1 +rt node eo2js-runtime:0.0.0 -+version 0.46.0 ++version 0.48.1 # 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 fb3204da..90db3f60 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.46.0 ++version 0.48.1 # Text. [origin] > text @@ -108,17 +108,17 @@ ^.origin > delimiter! items.at 0 > first items.length > len! + if. > not-empty! + 1.eq len + first + concat. + first.as-bytes + with-delimiter "".as-bytes 1 text > @ if. 0.eq len "" - if. - 1.eq len - first - as-string. - concat. - first.as-bytes - with-delimiter "".as-bytes 1 + string not-empty [acc index] > with-delimiter if. > @ @@ -146,7 +146,7 @@ if. 0.eq amount "" - as-string. + string rec-repeated bts 1 [accum index] > rec-repeated @@ -249,7 +249,7 @@ number ascii-a ascii "A" text > @ - as-string. + string reduced. list bytes-as-array @@ -282,7 +282,7 @@ ^.up-cased.ascii "Z" > ascii-z ^.up-cased.ascii "A" > ascii-a text > @ - as-string. + string reduced. list bytes-as-array @@ -349,7 +349,7 @@ block.from.minus start ^.replacement block.to - as-string. + string accum.concat ^.reinit.slice start @@ -404,7 +404,7 @@ 0.eq others.length ^ text - as-string. + string reduced. list others ^.origin.as-bytes diff --git a/objects/org/eolang/while.eo b/objects/org/eolang/while.eo index 372b8ea9..4ab42b73 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.46.0 ++version 0.48.1 # The `while` object is very similar to a loop with a pre-condition. # Here's how you can use it: diff --git a/tests/org/eolang/as-phi-tests.eo b/tests/org/eolang/as-phi-tests.eo index 24444268..c006df54 100644 --- a/tests/org/eolang/as-phi-tests.eo +++ b/tests/org/eolang/as-phi-tests.eo @@ -24,7 +24,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.46.0 ++version 0.48.1 # This unit test is supposed to check the functionality of the corresponding object. [] > prints-itself diff --git a/tests/org/eolang/bool-tests.eo b/tests/org/eolang/bool-tests.eo index b314d755..8c185e36 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.46.0 ++version 0.48.1 # 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 8a74da75..cb2e04cd 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.46.0 ++version 0.48.1 # This unit test is supposed to check the functionality of the corresponding object. [] > takes-part-of-bytes @@ -55,7 +55,7 @@ # This unit test is supposed to check the functionality of the corresponding object. [] > turns-bytes-into-a-string eq. > @ - as-string. + string E4-BD-A0-E5-A5-BD-2C-20-D0-B4-D1-80-D1-83-D0-B3-21 "你好, друг!" @@ -351,8 +351,7 @@ "hello ".as-bytes "world".as-bytes eq. > @ - as-string. - s-bytes + string s-bytes "hello world" # This unit test is supposed to check the functionality of the corresponding object. diff --git a/tests/org/eolang/cti-test.eo b/tests/org/eolang/cti-test.eo index 823b8410..a728c94f 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.46.0 ++version 0.48.1 # 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 5f98773c..b569c016 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.46.0 ++version 0.48.1 # 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 b5126766..65f65ff6 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.46.0 ++version 0.48.1 # 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 421c79ab..ce693cce 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.46.0 ++version 0.48.1 # 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 d88dfc54..e11c29ca 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.46.0 ++version 0.48.1 # 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 7fea7818..b1b68c06 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.46.0 ++version 0.48.1 # 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 283ce8d7..bf7aad18 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.46.0 ++version 0.48.1 # 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 fd0a9646..3aee462f 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.46.0 ++version 0.48.1 # 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 a135772e..4ac53ccb 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.46.0 ++version 0.48.1 # 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 9c8dfedd..400f1c01 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.46.0 ++version 0.48.1 # 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 1f145247..854de233 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.46.0 ++version 0.48.1 # 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 new file mode 100644 index 00000000..c75f2220 --- /dev/null +++ b/tests/org/eolang/io/console-test.eo @@ -0,0 +1,34 @@ +# The MIT License (MIT) +# +# Copyright (c) 2016-2024 Objectionary.com +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + ++alias org.eolang.io.console ++architect yegor256@gmail.com ++home https://github.com/objectionary/eo ++tests ++package org.eolang.io ++version 0.48.1 + +# Prints a simple message to the console. We can't validate +# the output, so we just run it and see if it crashes. +[] > writes-to-console + console.write > @ + "Hello, console-test!\n" diff --git a/tests/org/eolang/io/dead-input-tests.eo b/tests/org/eolang/io/dead-input-tests.eo index 0327704b..cbc6bb56 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.46.0 ++version 0.48.1 # 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 992342c2..6af0b2b6 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.46.0 ++version 0.48.1 # 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 0452e01b..655c171a 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.46.0 ++version 0.48.1 # 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 254d6526..cabcba65 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.46.0 ++version 0.48.1 # 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 new file mode 100644 index 00000000..518ae981 --- /dev/null +++ b/tests/org/eolang/io/stdout-test.eo @@ -0,0 +1,34 @@ +# The MIT License (MIT) +# +# Copyright (c) 2016-2024 Objectionary.com +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included +# in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. + ++alias org.eolang.io.stdout ++architect yegor256@gmail.com ++home https://github.com/objectionary/eo ++tests ++package org.eolang.io ++version 0.48.1 + +# Prints a simple message to the console. We can't validate +# the output, so we just run it and see if it crashes. +[] > prints-to-console + stdout > @ + "Hello, stdout-test!\n" diff --git a/tests/org/eolang/io/tee-input-tests.eo b/tests/org/eolang/io/tee-input-tests.eo index 5de83b92..3e6f1295 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.46.0 ++version 0.48.1 # 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 f0979f69..27f02db1 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.46.0 ++version 0.48.1 # This unit test is supposed to check the functionality of the corresponding object. [] > writes-into-memory-of @@ -61,8 +61,7 @@ [f] malloc.of > second 1 - [s] >> - f.put (f.as-number.plus 1) > @ + f.put (f.as-number.plus 1) > [s] >> seq > @ * second @@ -168,8 +167,7 @@ [b] malloc.of > @ 10 - [m] >> - b.put (m.size.eq 10) > @ + b.put (m.size.eq 10) > [m] >> # This unit test is supposed to check the functionality of the corresponding object. [] > malloc-writes-and-reads @@ -229,8 +227,7 @@ 0 malloc.of 0 - [m] - m.size > @ + m.size > [m] # This unit test is supposed to check the functionality of the corresponding object. [] > malloc-increases-block-size @@ -263,3 +260,8 @@ malloc.of > @ 1 m.resized -1 > [m] + +# This unit test is supposed to check the functionality of the corresponding object. +[] > malloc-empty-is-empty + malloc.empty > @ + m.size.eq 0 > [m] diff --git a/tests/org/eolang/math/angle-tests.eo b/tests/org/eolang/math/angle-tests.eo index ac2b17ad..a4574ace 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.46.0 ++version 0.48.1 # 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 b22a3861..d0e59e8f 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.46.0 ++version 0.48.1 # 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 3ad8fc56..a018294c 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.46.0 ++version 0.48.1 # 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 96bba2f7..a3046cc1 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.46.0 ++version 0.48.1 # 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 563b4dba..0fd815d0 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.46.0 ++version 0.48.1 # 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 9d9d17f3..b31c096a 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.46.0 ++version 0.48.1 # 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 eb0c66fc..1753e049 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.46.0 ++version 0.48.1 # 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 c6cbbf24..ad30a255 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.46.0 ++version 0.48.1 # 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 ad3a58b4..4976727b 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.46.0 ++version 0.48.1 # 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 d53997d9..0e63a3dd 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.46.0 ++version 0.48.1 # This unit test is supposed to check the functionality of the corresponding object. [] > understands-this-correctly diff --git a/tests/org/eolang/rust-tests.eo b/tests/org/eolang/rust-tests.eo index fa8166ae..13a67d52 100644 --- a/tests/org/eolang/rust-tests.eo +++ b/tests/org/eolang/rust-tests.eo @@ -23,7 +23,7 @@ +home https://github.com/objectionary/eo +tests +package org.eolang -+version 0.46.0 ++version 0.48.1 # Works with long names correctly. [] > rust-long-variable diff --git a/tests/org/eolang/seq-tests.eo b/tests/org/eolang/seq-tests.eo index 998fc2e2..6e93fd25 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.46.0 ++version 0.48.1 # 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 e285232b..fe6f4695 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.46.0 ++version 0.48.1 # 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 21deb767..9fb41386 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.46.0 ++version 0.48.1 # 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 660654ac..d566b8c5 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.46.0 ++version 0.48.1 # 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 15baa807..fe4e714f 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.46.0 ++version 0.48.1 # 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 722fb2db..5d6c2c4f 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.46.0 ++version 0.48.1 # 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 f0979adb..b5767e8d 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.46.0 ++version 0.48.1 # 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 0aea0fae..b8af15e2 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.46.0 ++version 0.48.1 # 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 9720a791..d70626ef 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.46.0 ++version 0.48.1 # 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 cff0fa13..de58c882 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.46.0 ++version 0.48.1 # 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 2ea52443..9a8c4c51 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.46.0 ++version 0.48.1 # 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 3478f6e7..4082d3a0 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.46.0 ++version 0.48.1 # 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 700de9f4..c33a4f70 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.46.0 ++version 0.48.1 # 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 c742b4b0..d633ccc5 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.46.0 ++version 0.48.1 # 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 078dbb17..e4cc7d6b 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.46.0 ++version 0.48.1 # 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 3a498203..9184719d 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.46.0 ++version 0.48.1 # 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 7b086e2b..d941e9f3 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.46.0 ++version 0.48.1 # 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 32825680..5c27f695 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.46.0 ++version 0.48.1 # 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 06c8e91a..cbe5e0e1 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.46.0 ++version 0.48.1 # 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 aca516b3..e429aff1 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.46.0 ++version 0.48.1 # This unit test is supposed to check the functionality of the corresponding object. [] > while-dataizes-only-first-cycle