diff --git a/eo-runtime/src/main/eo/org/eolang/bool.eo b/eo-runtime/src/main/eo/org/eolang/bool.eo index 14d2d9142e..d87b6198d8 100644 --- a/eo-runtime/src/main/eo/org/eolang/bool.eo +++ b/eo-runtime/src/main/eo/org/eolang/bool.eo @@ -26,9 +26,8 @@ +rt jvm org.eolang:eo-runtime:0.0.0 +version 0.0.0 -[data] > bool - data > @ - data > as-bytes +[as-bytes] > bool + as-bytes > @ # Equal to another object? [x] > eq diff --git a/eo-runtime/src/main/eo/org/eolang/float.eo b/eo-runtime/src/main/eo/org/eolang/float.eo index ad3a27d78f..c52419b756 100644 --- a/eo-runtime/src/main/eo/org/eolang/float.eo +++ b/eo-runtime/src/main/eo/org/eolang/float.eo @@ -26,9 +26,8 @@ +rt jvm org.eolang:eo-runtime:0.0.0 +version 0.0.0 -[data] > float - data > @ - data > as-bytes +[as-bytes] > float + as-bytes > @ # Tests that $ = x [x] > eq diff --git a/eo-runtime/src/main/eo/org/eolang/int.eo b/eo-runtime/src/main/eo/org/eolang/int.eo index 36d1f2d2b1..f22983e7bc 100644 --- a/eo-runtime/src/main/eo/org/eolang/int.eo +++ b/eo-runtime/src/main/eo/org/eolang/int.eo @@ -26,9 +26,8 @@ +rt jvm org.eolang:eo-runtime:0.0.0 +version 0.0.0 -[data] > int - data > @ - data > as-bytes +[as-bytes] > int + as-bytes > @ # Tests that $ = x [x] > eq diff --git a/eo-runtime/src/main/eo/org/eolang/string.eo b/eo-runtime/src/main/eo/org/eolang/string.eo index 629b3b7c1e..816192820f 100644 --- a/eo-runtime/src/main/eo/org/eolang/string.eo +++ b/eo-runtime/src/main/eo/org/eolang/string.eo @@ -26,9 +26,8 @@ +rt jvm org.eolang:eo-runtime:0.0.0 +version 0.0.0 -[data] > string - data > @ - data > as-bytes +[as-bytes] > string + as-bytes > @ # Is true if both objects are equal [x] > eq diff --git a/eo-runtime/src/main/java/org/eolang/Data.java b/eo-runtime/src/main/java/org/eolang/Data.java index a95d749945..eacadf0f2b 100644 --- a/eo-runtime/src/main/java/org/eolang/Data.java +++ b/eo-runtime/src/main/java/org/eolang/Data.java @@ -250,14 +250,11 @@ private static Phi toPhi(final Object obj, final Phi value) { ); } if (delta) { - phi.attr("Δ").put(value); + phi.attr(Attr.LAMBDA).put(value); } else { - phi.attr(0).put( - new PhWith( - new EObytes(Phi.Φ), - "Δ", new Data.Value<>(bytes) - ) - ); + final Phi bts = new EObytes(Phi.Φ); + bts.attr(Attr.LAMBDA).put(new Data.Value<>(bytes)); + phi.attr(0).put(bts); } return phi; }