Add CMake file and code for post 4

This commit is contained in:
2019-08-26 18:52:25 -07:00
parent 7e98477450
commit 7e40af4830
16 changed files with 698 additions and 0 deletions

7
04/examples/works3.txt Normal file
View File

@@ -0,0 +1,7 @@
data List = { Nil, Cons Int List }
defn length l = {
case l of {
Nil -> { 0 }
Cons x xs -> { 1 + length xs }
}
}