I recently found out that in .Net
There are tons of
immutable collections .
F # is a language with an emphasis on immutability, and it has its own immutable data types . Interestingly, I did not see references to the above immutable collections in any reading on F #.
I am wondering if there is any connection between these immutable collections and F # collections? Are there any recommendations for use? Which is better, F # Map<_,_> or ImmutableDictionary(TKey, TValue) , etc.?
UPDATE Perhaps I could ask it this way: does anyone have experience using both of these libraries in the same project or comparing their performance? Or is it just like this: first for C #, and the last for F # and what is it?
source share