immutable_collection 0.2.1+3 immutable_collection: ^0.2.1+3 copied to clipboard
Immutable collections, IList<E>, ISet<E>, IMap<K, V>. They all compare as value types.
Immutable collections #
Immutable collections that compare as value types.
- Immutable
List<E>
asIList<E>
. - Immutable
HashSet<E>
asISet<E>
. - Immutable
HashMap<K, V>
asIMap<K, V>
.
See an example for details.
If you want immutable data classes and discriminated unions that compare as value types, you might use data classes and discriminated unions.