mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
switch from pair to record and change name to ListReplaceUnsafe
This commit is contained in:
parent
27b47713aa
commit
dddf8ff785
8 changed files with 29 additions and 25 deletions
|
@ -291,8 +291,8 @@ pub fn list_drop_at<'a, 'ctx, 'env>(
|
|||
)
|
||||
}
|
||||
|
||||
/// List.replace : List elem, Nat, elem -> List elem
|
||||
pub fn list_replace<'a, 'ctx, 'env>(
|
||||
/// List.replace_unsafe : List elem, Nat, elem -> { list: List elem, value: elem }
|
||||
pub fn list_replace_unsafe<'a, 'ctx, 'env>(
|
||||
env: &Env<'a, 'ctx, 'env>,
|
||||
_layout_ids: &mut LayoutIds<'a>,
|
||||
list: BasicValueEnum<'ctx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue