See https://github.com/dlepex/typeinst
genericlib provides the following generic packages:
- slice
- basic operations: IndexOf, Contains, Delete, DeleteAt, Copy, Pop, Reverse
- predicative operations: Filter, FilterMut, FilterTo, FindIndex, Exists, All
- map, reduce
- iterating slice by chunks
- conv: conversions between data sructures
- map keys/values to slice
- slice to map, to set
- set to slice
- set: handy wrapper type for
map[E]struct{}