mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Update List.sublist to no longer use Nat
This commit is contained in:
parent
2cf7b5b5ca
commit
a71188dc30
4 changed files with 29 additions and 12 deletions
|
@ -274,7 +274,7 @@ pub(crate) fn list_swap<'a, 'ctx>(
|
|||
)
|
||||
}
|
||||
|
||||
/// List.sublist : List elem, { start : Nat, len : Nat } -> List elem
|
||||
/// List.sublist : List elem, { start : U64, len : U64 } -> List elem
|
||||
pub(crate) fn list_sublist<'a, 'ctx>(
|
||||
env: &Env<'a, 'ctx, '_>,
|
||||
layout_interner: &STLayoutInterner<'a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue