Finalize draft of polymorphism post
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-03-25 03:22:21 -07:00
parent 2a12f7f31e
commit 577e0ad930
9 changed files with 402 additions and 136 deletions

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 }