.net - Difference between Seq.map and Seq.collect in F# -


What is the difference between the function "Seq.collect" and "Seq.map" in F #? They seem equivalent to the description on MSDN.

Seq.collect Firstly, each sequence element has a New sequence and adjust these sequences in a single.

Seq.map new element to each element.


Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -