update examples

This commit is contained in:
crumbtoo
2024-02-09 17:56:38 -07:00
parent 50a4d0010c
commit 615a6f1b07
2 changed files with 2 additions and 2 deletions

View File

@@ -1,3 +1,3 @@
k x y = x;
main = k 3 ((/#) 1 0);
main = k 3 (/# 1 0);

View File

@@ -1,6 +1,6 @@
fac n = case (==#) n 0 of
{ <1> -> 1
; <0> -> (*#) n (fac ((-#) n 1))
; <0> -> *# n (fac (-# n 1))
};
main = fac 3;