diff options
author | rustanleino <unknown> | 2009-11-20 23:04:27 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2009-11-20 23:04:27 +0000 |
commit | 8c5fb20c77e73481e0ef9f5d9a5fb4b01d77aacd (patch) | |
tree | 2a209b8823071ac5dceae03c044b607616b98bf8 /Binaries | |
parent | 2dfa38c856adff66a90a07a58171092af7f9186f (diff) |
Added resolution and translation of algebraic datatypes and (in function bodies) match expressions.
Addressed a couple of todos, including checking the well-formedness of quantifiers and if-then-else expressions in function bodies.
Diffstat (limited to 'Binaries')
-rw-r--r-- | Binaries/DafnyPrelude.bpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Binaries/DafnyPrelude.bpl b/Binaries/DafnyPrelude.bpl index 4e524175..06b33b86 100644 --- a/Binaries/DafnyPrelude.bpl +++ b/Binaries/DafnyPrelude.bpl @@ -192,6 +192,11 @@ axiom (forall a: ClassName, b: ClassName :: { TypeTuple(a,b) } type DatatypeType;
+type DtCtorId;
+function DatatypeCtorId(DatatypeType) returns (DtCtorId);
+
+function DtRank(DatatypeType) returns (int);
+
// ---------------------------------------------------------------
type Field alpha;
|