All Downloads are FREE. Search and download functionalities are using the official Maven repository.

EOorg.EOeolang.EOarray Maven / Gradle / Ivy

/*
 * This file was auto-generated by eolang-maven-plugin
 * on 2022-05-18T09:52:41.972Z. Don't edit it,
 * your changes will be discarded on the next build.
 *
 * The EO sources were compiled to XMIR on
 * 2022-05-18T09:51:40.715131Z by the compiler v.0.22.2.
 */

package EOorg.EOeolang;

import org.eolang.*;

//  
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
//    
//     
//     
//     
//     
//     
//     
//     
//   
// 
@XmirObject(name = "array", oname = "array", source = "/home/r/repo/target/eo/04-pull/org/eolang/array.eo")
public final class EOarray extends PhDefault {
  public EOarray(final Phi sigma) {
    super(sigma);
    this.add("Δ", new AtFree());
    this.add("is-empty", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOis_empty(rho);
        ret = new PhLocated(ret, 29, 2);
      return ret;
    })));
    this.add("length", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOlength(rho);
        ret = new PhLocated(ret, 32, 2);
      return ret;
    })));
    this.add("get", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOget(rho);
        ret = new PhLocated(ret, 36, 2);
      return ret;
    })));
    this.add("append", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOappend(rho);
        ret = new PhLocated(ret, 40, 2);
      return ret;
    })));
    this.add("reduce", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOreduce(rho);
        ret = new PhLocated(ret, 43, 2);
      return ret;
    })));
    this.add("each", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOeach(rho);
        ret = new PhLocated(ret, 46, 2);
      return ret;
    })));
    this.add("mapi", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOmapi(rho);
        ret = new PhLocated(ret, 52, 2);
      return ret;
    })));
    this.add("map", new AtOnce(new AtComposite(this, rho -> {
      Phi ret = new EOarray$EOmap(rho);
        ret = new PhLocated(ret, 57, 2);
      return ret;
    })));
  }
  @Override
  public int hashCode() {
    return this.attr("Δ").get().hashCode();
  }
  @Override
  public boolean equals(final Object obj) {
    return this.attr("Δ").get().equals(obj);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy