All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
EOorg.EOeolang.EOcollections.EOlist Maven / Gradle / Ivy
/*
* This file was auto-generated by eolang-maven-plugin
* on 2022-07-25T15:16:21.675Z. Don't edit it,
* your changes will be discarded on the next build.
*
* The EO sources were compiled to XMIR on
* 2022-07-25T15:14:48.537700Z by the compiler v.0.24.0.
*/
package EOorg.EOeolang.EOcollections;
import org.eolang.*;
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
@XmirObject(name = "list", oname = "list", source = "/home/r/repo/target/eo/04-pull/org/eolang/collections/list.eo")
public final class EOlist extends PhDefault {
public EOlist(final Phi sigma) {
super(sigma);
this.add("arr", new AtFree(/* default */));
this.add("φ", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new PhMethod(rho, "arr");
ret = new PhLocated(ret, 30, 2);
return ret;
})));
this.add("is-empty", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOis_empty(rho);
ret = new PhLocated(ret, 32, 2);
return ret;
})));
this.add("reducei", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOreducei(rho);
ret = new PhLocated(ret, 38, 2);
return ret;
})));
this.add("as-array", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOas_array(rho);
ret = new PhLocated(ret, 64, 2);
return ret;
})));
this.add("reduce", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOreduce(rho);
ret = new PhLocated(ret, 67, 2);
return ret;
})));
this.add("mapi", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOmapi(rho);
ret = new PhLocated(ret, 76, 2);
return ret;
})));
this.add("map", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOmap(rho);
ret = new PhLocated(ret, 89, 2);
return ret;
})));
this.add("each", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOeach(rho);
ret = new PhLocated(ret, 97, 2);
return ret;
})));
this.add("without", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOwithout(rho);
ret = new PhLocated(ret, 100, 2);
return ret;
})));
this.add("eq", new AtOnce(new AtComposite(this, rho -> {
Phi ret = new EOlist$EOeq(rho);
ret = new PhLocated(ret, 110, 2);
return ret;
})));
}
}