Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stdlib] Median #39335

Closed
wants to merge 1 commit into from
Closed

[stdlib] Median #39335

wants to merge 1 commit into from

Conversation

benrimmington
Copy link
Contributor

@benrimmington benrimmington commented Sep 16, 2021

This proposal would add a global median function to the standard library.

Swift-evolution thread: Pitch

@benrimmington benrimmington added the swift evolution pending discussion Flag → feature: A feature that has a Swift evolution proposal currently in review label Sep 16, 2021
Comment on lines -12 to -21
// FIXME(prext): remove this conformance.
extension String.UnicodeScalarView : Equatable {}

// FIXME(prext): remove this function.
public func == (
lhs: String.UnicodeScalarView, rhs: String.UnicodeScalarView) -> Bool {
return Array(lhs) == Array(rhs)
}

// FIXME(prext): move this struct to the point of use.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines were leftover by commit 91d1821.

@benrimmington
Copy link
Contributor Author

@swift-ci Please smoke test

@benrimmington benrimmington deleted the median branch November 5, 2021 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swift evolution pending discussion Flag → feature: A feature that has a Swift evolution proposal currently in review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants