diff options
Diffstat (limited to 'test-suite/output/Fixpoint.out')
-rw-r--r-- | test-suite/output/Fixpoint.out | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/output/Fixpoint.out b/test-suite/output/Fixpoint.out new file mode 100644 index 00000000..62c9d395 --- /dev/null +++ b/test-suite/output/Fixpoint.out @@ -0,0 +1,11 @@ +fix F (A B : Set) (f : A -> B) (l : list A) {struct l} : +list B := match l with + | nil => nil (A:=B) + | a :: l0 => f a :: F A B f l0 + end + : forall A B : Set, (A -> B) -> list A -> list B +let fix f (m : nat) : nat := match m with + | 0 => 0 + | S m' => f m' + end in f 0 + : nat |