mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
seq API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e10ecad5dc
commit
1147037a99
|
@ -9015,12 +9015,13 @@ def Empty(s):
|
|||
>>> print(e)
|
||||
""
|
||||
>>> e2 = String("")
|
||||
>>> print(e == e2)
|
||||
>>> print(e.eq(e2))
|
||||
True
|
||||
>>> e3 = Empty(SeqSort(IntSort()))
|
||||
>>> print(e3)
|
||||
seq.empty
|
||||
"""
|
||||
return SeqRef(Z3_mk_seq_empty(s.ctx_ref(), s.as_ast()), s.ctx)
|
||||
return SeqRef(Z3_mk_seq_empty(s.ctx_ref(), s.ast), s.ctx)
|
||||
|
||||
def Unit(a):
|
||||
"""Create a singleton sequence"""
|
||||
|
|
Loading…
Reference in a new issue