Finalize draft of polymorphism post

This commit is contained in:
2020-03-25 03:22:21 -07:00
parent de435d6c80
commit 08246f1474
8 changed files with 40 additions and 117 deletions

8
10/examples/if.txt Normal file
View File

@@ -0,0 +1,8 @@
data Bool = { True, False }
defn if c t e = {
case c of {
True -> { t }
False -> { e }
}
}
defn main = { if (if True False True) 11 3 }