Version 0.16.0
Pre-release
Pre-release
Added
- Added
maps.NewFromSeq()
(and variants) which construct map types fromiter.Seq2
sequences. - Added
sets.NewFromSeq()
(and variants) which construct set types fromiter.Seq
sequences. - Added
sets.NewFromKeys()
(and variants) which construct set types from the keys ofiter.Seq2
sequences. - Added
sets.NewFromValues()
(and variants) which construct set types from the values ofiter.Seq2
sequences. - Added
Intersection()
method to all set types.
Changed
- [BC] Changed message stubs to accept validation scopes.
- The results of
Clone()
,Merge()
,Select()
andProject()
on any map type are now guaranteed to be non-nil. - The results of
Clone()
,Union()
andProject()
on any set type are now guaranteed to be non-nil.
Removed
- [BC] Removed
cmp
parameter frommaps.NewOrderedByComparator()
and its variants. The comparator logic must now be totally encapsulated by the comparator type alone.