.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

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -