Clumsily add equality checking.
This commit is contained in:
6
programs/eq.lily
Normal file
6
programs/eq.lily
Normal file
@@ -0,0 +1,6 @@
|
||||
defn main = {
|
||||
case eq 1 1 of {
|
||||
True -> { 326 }
|
||||
False -> { 404 }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
data Bool = { True, False }
|
||||
defn not b = {
|
||||
case b of {
|
||||
False -> { True }
|
||||
|
||||
Reference in New Issue
Block a user