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/Corecursion.dfy | |
parent | dbce023dbbbc2a73853c3d2b6251e85d4d627376 (diff) |
Stop pretty-print from emitting deprecated semi-colons.
Diffstat (limited to 'Test/dafny0/Corecursion.dfy')
-rw-r--r-- | Test/dafny0/Corecursion.dfy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/dafny0/Corecursion.dfy b/Test/dafny0/Corecursion.dfy index cfdc2897..28714611 100644 --- a/Test/dafny0/Corecursion.dfy +++ b/Test/dafny0/Corecursion.dfy @@ -4,7 +4,7 @@ // --------------------------------------------------
module CoRecursion {
- codatatype Stream<T> = More(head: T, rest: Stream);
+ codatatype Stream<T> = More(head: T, rest: Stream)
function AscendingChain(n: int): Stream<int>
{
@@ -23,7 +23,7 @@ module CoRecursion { More(n, AscendingChainAndPostcondition(n+1)) // error: cannot prove termination
}
- datatype List<T> = Nil | Cons(T, List);
+ datatype List<T> = Nil | Cons(T, List)
function Prefix(n: nat, s: Stream): List
{
@@ -35,7 +35,7 @@ module CoRecursion { // --------------------------------------------------
module CoRecursionNotUsed {
- codatatype Stream<T> = More(T, Stream);
+ codatatype Stream<T> = More(T, Stream)
function F(s: Stream, n: nat): Stream
decreases n, true;
|