quixutils::iter
pub fn heads<T>(s: &[T]) -> impl Iterator<Item = &[T]>
Provides slices of all heads. Similar to Haskell inits.
inits