mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Format roc
This commit is contained in:
parent
7752d8dab5
commit
f1564458a3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue