added Until to AST and added empty case for addf and orf

This commit is contained in:
Marcell Vazquez-Chanlatte 2017-01-03 19:19:15 -08:00
parent 33a7ad6421
commit 39885d3fe0
4 changed files with 20 additions and 4 deletions

View file

@ -141,7 +141,7 @@ def until(phi, *, lo, hi):
raise NotImplementedError
def andf(*args):
return reduce(op.and_, args)
return reduce(op.and_, args, stl.And(tuple()))
def orf():
return reduce(op.or_, args)
def orf(*args):
return reduce(op.or_, args, stl.Or(tuple()))