diff options
Diffstat (limited to 'Test/hofs/TreeMapSimple.dfy')
-rw-r--r-- | Test/hofs/TreeMapSimple.dfy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/hofs/TreeMapSimple.dfy b/Test/hofs/TreeMapSimple.dfy index 3c70840e..a853b82c 100644 --- a/Test/hofs/TreeMapSimple.dfy +++ b/Test/hofs/TreeMapSimple.dfy @@ -1,9 +1,9 @@ // RUN: %dafny /compile:3 "%s" > "%t" // RUN: %diff "%s.expect" "%t" -datatype List<A> = Nil | Cons(head: A,tail: List<A>); +datatype List<A> = Nil | Cons(head: A,tail: List<A>) -datatype Tree<A> = Branch(val: A,trees: List<Tree<A>>); +datatype Tree<A> = Branch(val: A,trees: List<Tree<A>>) function ListData(xs : List) : set ensures forall x :: x in ListData(xs) ==> x < xs; |