immutable_collection 0.2.1+3 copy "immutable_collection: ^0.2.1+3" to clipboard
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> as IList<E>.
  • Immutable HashSet<E> as ISet<E>.
  • Immutable HashMap<K, V> as IMap<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.

2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

collection, meta

More

Packages that depend on immutable_collection