interface Iterator[A]
  fun ref has_next(): Bool
  fun ref next(): A ?