mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
add List.clone
This commit is contained in:
parent
ebfcd71e8d
commit
f1ffc36efe
14 changed files with 147 additions and 4 deletions
|
@ -50,8 +50,9 @@ pub enum LowLevel {
|
|||
ListSublist,
|
||||
ListDropAt,
|
||||
ListSwap,
|
||||
ListIsUnique,
|
||||
ListGetCapacity,
|
||||
ListIsUnique,
|
||||
ListClone,
|
||||
NumAdd,
|
||||
NumAddWrap,
|
||||
NumAddChecked,
|
||||
|
@ -291,6 +292,7 @@ map_symbol_to_lowlevel! {
|
|||
ListReserve <= LIST_RESERVE;
|
||||
ListReleaseExcessCapacity <= LIST_RELEASE_EXCESS_CAPACITY;
|
||||
ListIsUnique <= LIST_IS_UNIQUE;
|
||||
ListClone <= LIST_CLONE;
|
||||
ListAppendUnsafe <= LIST_APPEND_UNSAFE;
|
||||
ListPrepend <= LIST_PREPEND;
|
||||
ListGetUnsafe <= LIST_GET_UNSAFE, DICT_LIST_GET_UNSAFE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue