From 1582072f9fce52a7f0bfabdff927744fe3f9ecbf Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Mon, 2 Feb 2004 14:53:48 +0000 Subject: [PATCH] fact regtest --- helm/gTopLevel/tests/fix00.cic | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 helm/gTopLevel/tests/fix00.cic diff --git a/helm/gTopLevel/tests/fix00.cic b/helm/gTopLevel/tests/fix00.cic new file mode 100644 index 000000000..f7b196c87 --- /dev/null +++ b/helm/gTopLevel/tests/fix00.cic @@ -0,0 +1,8 @@ +let rec fact = + \lambda x:nat. + [\lambda x:nat. nat] + match x:nat with + [ O \Rightarrow 1 + | (S (x: nat)) \Rightarrow (mult (S x) (fact x)) ] +in +(fact 4) -- 2.39.2