Format roc

This commit is contained in:
Kiryl Dziamura 2023-04-12 16:28:57 +02:00
parent 7752d8dab5
commit f1564458a3
No known key found for this signature in database
GPG key ID: FB539501A4561ACF

View file

@ -658,7 +658,7 @@ abs : Num a -> Num a
## [I8] answer that's higher than 127 or lower than -128), the result is an
## *overflow*. For [F64] and [F32], overflow results in an answer of either
## ∞ or -∞. For all other number types, overflow results in a panic.
absDiff: Num a, Num a -> Num a
absDiff : Num a, Num a -> Num a
absDiff = \a, b ->
if a > b then
a - b