docs: function max(compare, iterable, dflt = undefined) {
  
    let iterator = (0, _iter.iter)(iterable);
  
    let first = iterator.next();
  
    if (first.done) return dflt;
  
    let largest = first.value;
  
    for (let candidate of iterator) {
  
      if (compare(candidate, largest) > 0) {
  
        largest = candidate;
      }
    }
  
    return largest;
  }