mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
More int_abs documentation
This commit is contained in:
parent
1d1f620090
commit
f5ebdf49e4
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ fn int_abs(var_store: &VarStore) -> Def {
|
||||||
branches: vec![(
|
branches: vec![(
|
||||||
// if-condition
|
// if-condition
|
||||||
no_region(
|
no_region(
|
||||||
// Int.isLt
|
// Int.isLt 0 n
|
||||||
|
// 0 < n
|
||||||
call(
|
call(
|
||||||
Symbol::INT_LT,
|
Symbol::INT_LT,
|
||||||
vec![Int(var_store.fresh(), 0), Var(Symbol::INT_ABS_ARG)],
|
vec![Int(var_store.fresh(), 0), Var(Symbol::INT_ABS_ARG)],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue