extent

inline fun <I, O : Comparable<O>> Iterable<I>.extent(crossinline selector: (I) -> O?): Iterable<O>