mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Move Eq to Bool
This commit is contained in:
parent
bd5f5ed735
commit
a256947a9f
19 changed files with 92 additions and 101 deletions
|
@ -1629,7 +1629,7 @@ mod eq {
|
|||
a = @LyingEq 10
|
||||
b = @LyingEq 5
|
||||
c = @LyingEq 5
|
||||
if Eq.isEq a b && !(Eq.isEq b c) then
|
||||
if Bool.isEq a b && !(Bool.isEq b c) then
|
||||
"okay"
|
||||
else
|
||||
"fail"
|
||||
|
@ -1647,7 +1647,7 @@ mod eq {
|
|||
r#"
|
||||
app "test" provides [main] to "./platform"
|
||||
|
||||
main = Eq.isEq 10u8 10u8
|
||||
main = Bool.isEq 10u8 10u8
|
||||
"#
|
||||
),
|
||||
true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue