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

Extend (non)emptiness handling of Sequence to Array? #612

Open
quintesse opened this issue Dec 24, 2014 · 0 comments
Open

Extend (non)emptiness handling of Sequence to Array? #612

quintesse opened this issue Dec 24, 2014 · 0 comments
Labels
Milestone

Comments

@quintesse
Copy link
Member

It would perhaps be nice to extend the same advantages that Sequence regarding to emptiness to Array as well. Because just like sequences arrays cannot change size once they're created, so things like .first and .last could have non-optional types.

@gavinking seems to think it can be done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants