Package net.sf.kpex.prolog

Examples of net.sf.kpex.prolog.Source.toList()


  @Override
  public int exec(Prog p)
  {
    Source original = (Source) getArg(0);
    Const Xs = original.toList();
    return putArg(1, new net.sf.kpex.prolog.ListSource(Xs, p), p) > 0
        && putArg(2, new net.sf.kpex.prolog.ListSource(Xs, p), p) > 0 ? 1 : 0;
  }
}
View Full Code Here


   */
  @Override
  public int exec(Prog p)
  {
    Source S = (Source) getArg(0);
    Term Xs = S.toList();
    return putArg(1, Xs, p);
  }
}
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.