Skip to content

Instantly share code, notes, and snippets.

@simekadam
Created October 5, 2012 20:52
Show Gist options
  • Save simekadam/3842314 to your computer and use it in GitHub Desktop.
Save simekadam/3842314 to your computer and use it in GitHub Desktop.
Iterator it1 = left.oneStepRewrite().iterator();
while(it.hasNext()){
s.add(new Addition(it.next(), right));
}
Iterator<Expr> it2 = right.oneStepRewrite().iterator();
while(it.hasNext()){
s.add(new Addition(left, it.next()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment