mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Fix small typo on List module
This commit is contained in:
parent
d60f1deebc
commit
e5e68266f9
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ all = \list, predicate ->
|
|||
## length that's too low, it would have to re-allocate.
|
||||
##
|
||||
## (If you want to do an operation like this which reduces the memory footprint
|
||||
## of the resulting list, you can do two passes over the lis with [List.walk] - one
|
||||
## of the resulting list, you can do two passes over the list with [List.walk] - one
|
||||
## to calculate the precise new size, and another to populate the new list.)
|
||||
##
|
||||
## If given a unique list, [List.keepIf] will mutate it in place to assemble the appropriate list.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue