invariant_collection 1.0.12
invariant_collection: ^1.0.12 copied to clipboard
Invariant versions of standard collection types using extension types. As of version 1.0.11, the kinds which are implemented are `Iterable`, `List`, `Set`, and `Map`.
1.0.12 #
- Remove methods that are inherently incompatible with preservation of invariance (only special cases for the values of type arguments would not cause the invariance property to be violated).
1.0.11 #
- Improve README.md.
1.0.10 #
- Improve
example.dart, add assertions aboutisInvariantto the gettersiIterable,iList,iSet,iMap.
1.0.9 #
- Improve README.md.
1.0.8 #
- Reorganize libraries in order to enable
implementsof private types. This is needed in order to makeIList<T>assignable toIIterable<T>, and similarly for other collection types. - Add library
invariant_set.dart, providing the extension typeISet.
1.0.7 #
- Add library
invariant_iterable.dart, providing the extension typeIIterable. Add members ofIListwhere this type is used.
1.0.6 #
- Add library
invariant_collection.dart, exportinginvariant_list.dart. This library will export all the other libraries in this package.
1.0.5 #
- Update README.md text about the assertion.
1.0.4 #
- Extended and improved README.md.
- Added
IListconstructor that assertsisInvariant, to enable a safe way (when assertions are enabled) to obtain anIListfrom a givenList.
1.0.3 #
- Extended README.md further.
1.0.2 #
- Extended README.md substantially.
1.0.1 #
- Add DartDoc comments.
1.0.0 #
- Initial version.