Package erjang

Examples of erjang.EFun.invoke()


    EFun f = fun.testFunction2(0);
    if (f == null) {
      throw ERT.badarg(fun);
    }
   
    return f.invoke(proc, new EObject[0]);
  }

}
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
Copyright © 2018 www.massapi.com. 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.