This release adds functions to safely traverse the indices of a bidirectional collection, and changes the license to be much more permissive.
All Changes: 2.2.2...2.3.0
Index Traversal (#23)
This adds the following counterparts which return nil if moving the index there would result in leaving the collection:
indexOrNil(before:)as a counterpart toindex(before:)indexOrNil(after:)as a counterpart toindex(after:)formIndexOrNil(before:)as a counterpart toformIndex(before:)formIndexOrNil(after:)as a counterpart toformIndex(after:)indexOrNil(_:offsetBy:)as a counterpart toindex(_:offsetBy:)
License change (#22)
This removes almost all restrictions by replacing the previous license (BH-1-PS, a custom license with dubious legal implications) with The Fair License, an open license designed to be minimal and permissive.