mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
list len docs correction
This commit is contained in:
parent
544f5e323c
commit
315fbeb75c
1 changed files with 3 additions and 3 deletions
|
@ -371,9 +371,9 @@ prependIfOk = \list, result ->
|
|||
|
||||
## Returns the length of the list - the number of elements it contains.
|
||||
##
|
||||
## One [List] can store up to 2,147,483,648 elements (just over 2 billion), which
|
||||
## is exactly equal to the highest valid #I32 value. This means the #U32 this function
|
||||
## returns can always be safely converted to an #I32 without losing any data.
|
||||
## One [List] can store up to 9,223,372,036,854,775,807 elements, which
|
||||
## is exactly equal to the highest valid #I64 value. This means the #U64 this function
|
||||
## returns can always be safely converted to an #I64 without losing any data.
|
||||
len : List * -> U64
|
||||
|
||||
## Create a list with space for at least capacity elements
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue