immutable_collection

Immutable collections, IList<E>, ISet<E>, IMap<K, V>. They all compare as value types.

If you want classes that compare as value types, you might use data classes and discriminated unions.

Libraries

immutable_collection