mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-14 07:29:02 +03:00
Remove parenthesis from Pair
This commit is contained in:
parent
d32e77819b
commit
2ba9566c03
@ -42,7 +42,7 @@ Expr : [ Val I64, Var Str, Add Expr Expr, Mul Expr Expr, Pow Expr Expr, Ln Expr
|
||||
divmod : I64, I64 -> Result { div : I64, mod : I64 } [ DivByZero ]*
|
||||
divmod = \l, r ->
|
||||
when Pair (l // r) (l % r) is
|
||||
Pair (div) (Ok mod) ->
|
||||
Pair div (Ok mod) ->
|
||||
Ok { div, mod }
|
||||
|
||||
_ ->
|
||||
|
Loading…
Reference in New Issue
Block a user