EOorg.EOeolang.EOcollections.EOlist$EOeq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eo-math Show documentation
Show all versions of eo-math Show documentation
Math Primitives for EO Programming Language
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-15T10:40:27.903Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-07-15T10:39:53.522886Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang.EOcollections;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
// true
//
//
//
//
//
//
//
//
//
//
//
//
//
//
// false
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "list$eq", oname = "eq", source = "/home/r/repo/target/eo/04-pull/org/eolang/collections/list.eo")
public final class EOlist$EOeq extends PhDefault {
public EOlist$EOeq(final Phi sigma) {
super(sigma);
this.add("x", new AtFree(/* default */));
this.add("φ", new AtOnce(new AtComposite(this, rho -> {
Phi ret_base_base_base = new PhMethod(new PhMethod(rho, "σ"), "arr");
ret_base_base_base = new PhLocated(ret_base_base_base, 114, 8);
Phi ret_base_base = new PhMethod(ret_base_base_base, "length");
ret_base_base = new PhLocated(ret_base_base, 114, 11);
Phi ret_base = new PhMethod(ret_base_base, "eq");
ret_base = new PhLocated(ret_base, 113, 6);
ret_base = new PhCopy(ret_base);
Phi ret_base_1_base = new PhMethod(rho, "x");
ret_base_1_base = new PhLocated(ret_base_1_base, 115, 8);
Phi ret_base_1 = new PhMethod(ret_base_1_base, "length");
ret_base_1 = new PhLocated(ret_base_1, 115, 9);
ret_base = new PhWith(ret_base, 0, ret_base_1);
Phi ret = new PhMethod(ret_base, "if");
ret = new PhLocated(ret, 112, 4);
ret = new PhCopy(ret);
Phi ret_1_base = new PhMethod(rho, "ρ");
ret_1_base = new PhLocated(ret_1_base, 116, 6);
Phi ret_1 = new PhMethod(ret_1_base, "reducei");
ret_1 = new PhLocated(ret_1, 116, 7);
ret_1 = new PhCopy(ret_1);
Phi ret_1_1 = new EOorg.EOeolang.EObool(Phi.Φ);
ret_1_1 = new PhLocated(ret_1_1, 117, 8);
ret_1_1 = new PhWith(ret_1_1, "Δ", new Data.Value(true));
Phi ret_1_2 = new EOlist$EOeq$EOt1$EOt1$EOa2(rho);
ret_1_2 = new PhLocated(ret_1_2, 118, 8);
ret_1 = new PhWith(ret_1, 0, ret_1_1);
ret_1 = new PhWith(ret_1, 1, ret_1_2);
Phi ret_2 = new EOorg.EOeolang.EObool(Phi.Φ);
ret_2 = new PhLocated(ret_2, 124, 6);
ret_2 = new PhWith(ret_2, "Δ", new Data.Value(false));
ret = new PhWith(ret, 0, ret_1);
ret = new PhWith(ret, 1, ret_2);
return ret;
})));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy