Package erjang

Examples of erjang.EObject


      throw ERT.badarg(k, n, list);
   
    int index = idx.value;

    while (!src.isNil()) {
      EObject elm = src.head();
     
      ETuple tup;
      if ((tup = elm.testTuple()) != null) {
        if (tup.arity() >= index) {
          if (tup.elm(index).equals(k)) {
            return new ETuple2(ERT.am_value, tup);
          }
        }
View Full Code Here


    }
   
    ArrayList<EObject> map = new ArrayList<>();
    while (!list.isNil()) {
     
      EObject pair0;
     
      proc.arg0 = list.head();
      proc.arg1 = acc;
      proc.tail = fun;     
      do {
View Full Code Here

    EObject[] arg = new EObject[1];
   
    ESeq rev = ERT.NIL;
    for (; !seq.isNil(); seq = seq.tail()) {
      arg[0] = seq.head();
      EObject val = fun.invoke(proc, arg);
      rev = rev.cons( val );
    }

    return reverse(rev, ERT.NIL);
  }
View Full Code Here

TOP

Related Classes of erjang.EObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.