hylo icon indicating copy to clipboard operation
hylo copied to clipboard

Fatal error: unexpected coercion from 'Self.Element' to Self.Element

Open dabrahams opened this issue 8 months ago • 1 comments

On requirements-machine branch:

public extension MutableCollection {

  public fun apply_each<E>(_ f: [E](inout Self.Element)->Void) inout -> Void {
    for inout e in self { f(&e) }
  }

}

dabrahams avatar Jun 24 '24 07:06 dabrahams