List.repeat in zig

This commit is contained in:
Folkert 2021-02-18 23:39:50 +01:00
parent 32bba5206a
commit d29b8764f0
9 changed files with 96 additions and 90 deletions

View file

@ -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