Swap List.mapWithIndex arg1 args order to put the element first

This commit is contained in:
Jan Van Bruggen 2022-02-11 15:58:50 -07:00
parent 92e0f8714f
commit f47dbb5171
No known key found for this signature in database
GPG key ID: F4B9828637D6D81B
7 changed files with 8 additions and 8 deletions

View file

@ -687,7 +687,7 @@ pub fn list_sort_with<'a, 'ctx, 'env>(
)
}
/// List.mapWithIndex : List before, (Nat, before -> after) -> List after
/// List.mapWithIndex : List before, (before, Nat -> after) -> List after
pub fn list_map_with_index<'a, 'ctx, 'env>(
env: &Env<'a, 'ctx, 'env>,
roc_function_call: RocFunctionCall<'ctx>,