mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
feat: add the rest of the num types for Str conversion
This commit is contained in:
parent
e587e20de2
commit
b7d48b2fe1
7 changed files with 395 additions and 45 deletions
|
@ -72,7 +72,16 @@ pub fn builtin_defs_map(symbol: Symbol, var_store: &mut VarStore) -> Option<Def>
|
|||
STR_TO_F64 => str_to_num,
|
||||
STR_TO_F32 => str_to_num,
|
||||
STR_TO_NAT => str_to_num,
|
||||
STR_TO_U128 => str_to_num,
|
||||
STR_TO_I128 => str_to_num,
|
||||
STR_TO_U64 => str_to_num,
|
||||
STR_TO_I64 => str_to_num,
|
||||
STR_TO_U32 => str_to_num,
|
||||
STR_TO_I32 => str_to_num,
|
||||
STR_TO_U16 => str_to_num,
|
||||
STR_TO_I16 => str_to_num,
|
||||
STR_TO_U8 => str_to_num,
|
||||
STR_TO_I8 => str_to_num,
|
||||
LIST_LEN => list_len,
|
||||
LIST_GET => list_get,
|
||||
LIST_SET => list_set,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue