About the No Warn when using the Add method many times. Woudn't it be better to just wrap the function just to add the ignore all the time and still be getting the warnings? Something like module HashSet = open System.Collections.Generic let Add (value: 'T) (hashSet: HashSet
You could certainly do that if you knew you were going to do that often. There are possible performance implications but we probably don't care at this level of detail.
About the No Warn when using the Add method many times.
Woudn't it be better to just wrap the function just to add the ignore all the time and still be getting the warnings?
Something like
module HashSet =
open System.Collections.Generic
let Add (value: 'T) (hashSet: HashSet
You could certainly do that if you knew you were going to do that often. There are possible performance implications but we probably don't care at this level of detail.
Is there some way to get a warning if one accidentally uses mutable features?
Not really. You just need to know that if you are using the .NET Collections you are dealing with mutation.