mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
parent
ec94fc87a5
commit
d7f03a680e
1 changed files with 2 additions and 2 deletions
|
@ -788,7 +788,7 @@ mul : Num a, Num a -> Num a
|
|||
## ```
|
||||
min : Num a, Num a -> Num a
|
||||
min = \a, b ->
|
||||
if a < b then
|
||||
if a < b then
|
||||
a
|
||||
else
|
||||
b
|
||||
|
@ -802,7 +802,7 @@ min = \a, b ->
|
|||
## ```
|
||||
max : Num a, Num a -> Num a
|
||||
max = \a, b ->
|
||||
if a > b then
|
||||
if a > b then
|
||||
a
|
||||
else
|
||||
b
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue