diff options
author | qunyanm <unknown> | 2015-03-05 12:04:37 -0800 |
---|---|---|
committer | qunyanm <unknown> | 2015-03-05 12:04:37 -0800 |
commit | db30cafd94527e73e969457c9c00e8c67300d7d4 (patch) | |
tree | 304827ba0d57583141f110b2834ae040b7453bb4 /Test/dafny0/CoPrefix.dfy | |
parent | dbce023dbbbc2a73853c3d2b6251e85d4d627376 (diff) |
Stop pretty-print from emitting deprecated semi-colons.
Diffstat (limited to 'Test/dafny0/CoPrefix.dfy')
-rw-r--r-- | Test/dafny0/CoPrefix.dfy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/dafny0/CoPrefix.dfy b/Test/dafny0/CoPrefix.dfy index 532ac746..0becb24d 100644 --- a/Test/dafny0/CoPrefix.dfy +++ b/Test/dafny0/CoPrefix.dfy @@ -3,7 +3,7 @@ // ----- Stream
-codatatype Stream = Nil | Cons(head: int, tail: Stream);
+codatatype Stream = Nil | Cons(head: int, tail: Stream)
function append(M: Stream, N: Stream): Stream
{
@@ -49,7 +49,7 @@ ghost method Theorem0_Manual() }
}
-datatype Natural = Zero | Succ(Natural);
+datatype Natural = Zero | Succ(Natural)
colemma {:induction false} Theorem0_TerminationFailure_ExplicitDecreases(y: Natural)
ensures atmost(zeros(), ones());
@@ -89,7 +89,7 @@ colemma {:induction false} Theorem1() Theorem1();
}
-codatatype IList = ICons(head: int, tail: IList);
+codatatype IList = ICons(head: int, tail: IList)
function UpIList(n: int): IList
{
@@ -114,7 +114,7 @@ colemma {:induction false} Theorem2_NotAProof(n: int) { // error: this is not a proof (without automatic induction)
}
-codatatype TList<T> = TCons(head: T, tail: TList);
+codatatype TList<T> = TCons(head: T, tail: TList)
function Next<T>(t: T): T
|