Package clojure.lang

Examples of clojure.lang.IPersistentSet


  @Override
  public Expression optimise() {
    Expression b=body.optimise();
    Expression v=value.optimise();
    if (value.isPure()) {
      IPersistentSet bfree= b.accumulateFreeSymbols(PersistentHashSet.EMPTY);
      if (!(bfree.contains(sym))) {
        return b;
      }
      if (value.isConstant()) {
        return b.substitute(PersistentHashMap.EMPTY.assoc(sym,value.eval())).optimise();
      }
View Full Code Here

TOP

Related Classes of clojure.lang.IPersistentSet

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.