mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
List.repeat in zig
This commit is contained in:
parent
32bba5206a
commit
d29b8764f0
9 changed files with 96 additions and 90 deletions
|
@ -3597,7 +3597,15 @@ fn run_low_level<'a, 'ctx, 'env>(
|
|||
|
||||
let inplace = get_inplace_from_layout(layout);
|
||||
|
||||
list_repeat(env, inplace, parent, list_len, elem, elem_layout)
|
||||
list_repeat(
|
||||
env,
|
||||
layout_ids,
|
||||
inplace,
|
||||
parent,
|
||||
list_len,
|
||||
elem,
|
||||
elem_layout,
|
||||
)
|
||||
}
|
||||
ListReverse => {
|
||||
// List.reverse : List elem -> List elem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue