3
0
Fork 0
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:
Nikolaj Bjorner 2019-03-17 11:23:01 -07:00
parent f534f79a21
commit 834cf962a1
7 changed files with 66 additions and 1 deletions

View file

@ -38,5 +38,11 @@ namespace Microsoft.Z3
Debug.Assert(ctx != null);
}
#endregion
public Expr this[Expr index]
{
get { return Context.MkSelect(this, index); }
}
}
}