From bd623d65bcff72625837a804eee80e1a6552c7c6 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Wed, 6 Apr 2022 22:40:06 -0400 Subject: [PATCH] Formatting whitespace --- compiler/builtins/roc/Num.roc | 12 ++++++------ compiler/solve/tests/solve_expr.rs | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/compiler/builtins/roc/Num.roc b/compiler/builtins/roc/Num.roc index fc337ce9ba..2cd524af6b 100644 --- a/compiler/builtins/roc/Num.roc +++ b/compiler/builtins/roc/Num.roc @@ -1,6 +1,6 @@ interface Num - exposes - [ + exposes + [ Num, Int, Float, @@ -144,8 +144,8 @@ interface Num imports [ ] Num range : [ @Num range ] -Int range : Num (Integer range) -Float range : Num (FloatingPoint range) +Int range : Num (Integer range) +Float range : Num (FloatingPoint range) Signed128 : [ @Signed128 ] Signed64 : [ @Signed64 ] @@ -167,7 +167,7 @@ I128 : Num (Integer Signed128) I64 : Num (Integer Signed64) I32 : Num (Integer Signed32) I16 : Num (Integer Signed16) -I8 : Int Signed8 +I8 : Int Signed8 U128 : Num (Integer Unsigned128) U64 : Num (Integer Unsigned64) @@ -187,7 +187,7 @@ F64 : Num (FloatingPoint Binary64) F32 : Num (FloatingPoint Binary32) Dec : Num (FloatingPoint Decimal) -# ------- Functions +# ------- Functions toStr : Num * -> Str intCast : Int a -> Int b diff --git a/compiler/solve/tests/solve_expr.rs b/compiler/solve/tests/solve_expr.rs index 281bf37528..70a4debb69 100644 --- a/compiler/solve/tests/solve_expr.rs +++ b/compiler/solve/tests/solve_expr.rs @@ -5359,7 +5359,7 @@ mod solve_expr { condition : Bool v : Id [ Y Str, Z Str ] - v = + v = if condition then $Id (Id 21 (Y "sasha")) else $Id (Id 21 (Z "felix"))