Avatar
@swift-main -Xfrontend -enable-experimental-named-opaque-types func lazyMapCollection<C: Collection, T>(_ collection: C, body: @escaping (C.Element) -> T) -> <R: Collection where R.Element == T> R { return collection.lazy.map { body($0) } }