.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

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -