mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Doc on flatten
This commit is contained in:
parent
f08cd8396f
commit
cbd715339f
3 changed files with 2 additions and 2 deletions
|
|
@ -335,7 +335,7 @@ fresh list if images in the same order.}
|
|||
"\lstinline|Some (v)|" otherwise, where "\lstinline|v|"~--- the first value to satisfy "\lstinline|f|".
|
||||
}
|
||||
|
||||
\descr{\lstinline|fun flatten (l)|}{Flattens a list of lists into a regular list. The order of elements is preserved in both senses.}
|
||||
\descr{\lstinline|fun flatten (l)|}{Flattens an arbitrary nesting of lists into a regular list. The order of elements is preserved in both senses.}
|
||||
|
||||
\descr{\lstinline|fun zip (a, b)|}{Zips a pair of lists into the list of pairs. Does not work for lists of different lengths.}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue