corrections

This commit is contained in:
crumbtoo
2023-11-24 00:42:48 -07:00
parent f1f711c9ca
commit 8724df05fe
2 changed files with 10 additions and 9 deletions

View File

@@ -93,6 +93,7 @@ listExample1 = [coreProg|
listExample2 = [coreProg|
cc f x xs = Cons (f x) (map f xs)
map f l = caseList# l Nil (cc f)
list = Cons 1 (Cons 2 (Cons 3 Nil))
main = map negate# list;
|]