From 2ba9566c03cdb1e486626143fbe0897d208561c8 Mon Sep 17 00:00:00 2001 From: Nikita Mounier Date: Tue, 12 Apr 2022 00:41:14 +0000 Subject: [PATCH] Remove parenthesis from Pair --- examples/benchmarks/Deriv.roc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/benchmarks/Deriv.roc b/examples/benchmarks/Deriv.roc index 1b1458e915..caf08906a6 100644 --- a/examples/benchmarks/Deriv.roc +++ b/examples/benchmarks/Deriv.roc @@ -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 } _ ->