mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Use closure syntax in parentheses in False.roc
This commit is contained in:
parent
1753c9cf5b
commit
cdbdfeeaa4
2 changed files with 22 additions and 12 deletions
|
@ -437,22 +437,22 @@ stepExecCtx = \ctx, char ->
|
|||
# `=` equals
|
||||
Task.fromResult
|
||||
(
|
||||
a, b <- binaryOp ctx
|
||||
if a == b then
|
||||
-1
|
||||
else
|
||||
0
|
||||
binaryOp ctx \a, b ->
|
||||
if a == b then
|
||||
-1
|
||||
else
|
||||
0
|
||||
)
|
||||
|
||||
0x3E ->
|
||||
# `>` greater than
|
||||
Task.fromResult
|
||||
(
|
||||
a, b <- binaryOp ctx
|
||||
if a > b then
|
||||
-1
|
||||
else
|
||||
0
|
||||
binaryOp ctx \a, b ->
|
||||
if a > b then
|
||||
-1
|
||||
else
|
||||
0
|
||||
)
|
||||
|
||||
0x5F ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue