mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
expose nth over API, change _getitem_ in python bindings to use nth instead of at, add 'at' operator for the purpose of the previous semantics
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f534f79a21
commit
834cf962a1
7 changed files with 66 additions and 1 deletions
|
@ -38,5 +38,11 @@ namespace Microsoft.Z3
|
|||
Debug.Assert(ctx != null);
|
||||
}
|
||||
#endregion
|
||||
|
||||
public Expr this[Expr index]
|
||||
{
|
||||
get { return Context.MkSelect(this, index); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue