Avatar
extension <Wrapped> Sequence where Element == Optional<Wrapped> { func compact() -> [Wrapped] } こんな感じですかねぇ