export function* keys<K, V>(x: Entries<K, V>): Iterable<K> {
  for (var [k] of x)
    yield k;
}