Releases: tuguzT/hlist2
Releases · tuguzT/hlist2
Release 0.0.15
Changes:
- Add operation trait to get many references to elements of heterogenous list (and mutable ones, too) in any desirable order
- Add useful methods for base structs
Cons
andNil
- Make
Nil
an empty iterator by itself
Release 0.0.14
Changes:
- Make it possible to use
Cons
type as DST, fix some trait implementations to support DSTs - Make
Here
andThere
types behave as indices for heterogenous list: creation, addition, subtraction, equality and comparison were implemented for these types - Add new operations: to remove many elements from list and to shuffle list
Release 0.0.13
Changes:
- Add trait to flatten a heterogenous list of heterogenous lists
Release 0.0.12
Changes:
- Added new trait for heterogenous lists which contain values of only one type
Release 0.0.11
Changes:
- Renamed assotiated types for some traits from
Remaining
toRemainder
- Added trait to remove elements from the heterogenous list by type
Release 0.0.10
Changes:
- make definitions of
Pop
,PopFront
andUnzip
traits more clear - add folder and mapper functions for polymorphic folds and maps
- implement
FromIterator
for any heterogenous list - implement
DoubleEndedIterator
forIntoIter
Release 0.0.9
Merge ToRef
and ToMut
traits together, or move ToMut
into ToRef
(because they are implemented for the exact same types)
Release 0.0.8
Fix iteration order (it was reversed previously)
Release 0.0.7
Implement iteration over heterogenous lists with elements of the same type
Release 0.0.6
Make Cons
struct more flexible: remove required bound on tail generic argument for struct. This allows to simplify dependant trait bounds.
Bound on tail generic argument is required for Cons
to be HList
, so this bound should exist for trait implementation.