Clumsily add equality checking.

This commit is contained in:
2019-06-12 19:27:52 -07:00
parent 9855dda31a
commit df33263fcd
6 changed files with 75 additions and 1 deletions

6
programs/eq.lily Normal file
View File

@@ -0,0 +1,6 @@
defn main = {
case eq 1 1 of {
True -> { 326 }
False -> { 404 }
}
}

View File

@@ -1,4 +1,3 @@
data Bool = { True, False }
defn not b = {
case b of {
False -> { True }