Skip to content

Releases: tuguzT/hlist2

Release 0.0.15

02 Sep 09:35
Compare
Choose a tag to compare
Release 0.0.15 Pre-release
Pre-release

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 and Nil
  • Make Nil an empty iterator by itself

Release 0.0.14

08 Sep 09:01
Compare
Choose a tag to compare
Release 0.0.14 Pre-release
Pre-release

Changes:

  • Make it possible to use Cons type as DST, fix some trait implementations to support DSTs
  • Make Here and There 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

24 Jun 08:31
Compare
Choose a tag to compare
Release 0.0.13 Pre-release
Pre-release

Changes:

  • Add trait to flatten a heterogenous list of heterogenous lists

Release 0.0.12

06 Jun 18:47
Compare
Choose a tag to compare
Release 0.0.12 Pre-release
Pre-release

Changes:

  • Added new trait for heterogenous lists which contain values of only one type

Release 0.0.11

06 Jun 11:16
Compare
Choose a tag to compare
Release 0.0.11 Pre-release
Pre-release

Changes:

  • Renamed assotiated types for some traits from Remaining to Remainder
  • Added trait to remove elements from the heterogenous list by type

Release 0.0.10

05 Jun 19:14
Compare
Choose a tag to compare
Release 0.0.10 Pre-release
Pre-release

Changes:

  • make definitions of Pop, PopFront and Unzip traits more clear
  • add folder and mapper functions for polymorphic folds and maps
  • implement FromIterator for any heterogenous list
  • implement DoubleEndedIterator for IntoIter

Release 0.0.9

03 Jun 17:30
Compare
Choose a tag to compare
Release 0.0.9 Pre-release
Pre-release

Merge ToRef and ToMut traits together, or move ToMut into ToRef (because they are implemented for the exact same types)

Release 0.0.8

03 May 06:44
Compare
Choose a tag to compare
Release 0.0.8 Pre-release
Pre-release

Fix iteration order (it was reversed previously)

Release 0.0.7

02 May 18:28
Compare
Choose a tag to compare
Release 0.0.7 Pre-release
Pre-release

Implement iteration over heterogenous lists with elements of the same type

Release 0.0.6

30 Apr 05:39
Compare
Choose a tag to compare
Release 0.0.6 Pre-release
Pre-release

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.