mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
trying to make Str.toNum work for Ints
This commit is contained in:
parent
2e21fd0cb9
commit
e63701c5d1
6 changed files with 6 additions and 15 deletions
|
@ -1324,7 +1324,7 @@ fn str_trim_right(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
|||
lowlevel_1(symbol, LowLevel::StrTrimRight, var_store)
|
||||
}
|
||||
|
||||
/// Str.toNum : Str -> Result (Num a) [ ExpectedNum a ]*
|
||||
/// Str.toNum : Str -> Result (Num a) {}
|
||||
fn str_to_num(symbol: Symbol, var_store: &mut VarStore) -> Def {
|
||||
lowlevel_1(symbol, LowLevel::StrToNum, var_store)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue