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

Add sum convenience methods #34

Merged
merged 3 commits into from
Jan 6, 2021
Merged

Add sum convenience methods #34

merged 3 commits into from
Jan 6, 2021

Conversation

u2606
Copy link
Contributor

@u2606 u2606 commented Dec 15, 2020

Adds two new sum convenience methods to Sequence.

Example usage:

[1.1, 2.2, 3.3].sum() // 6.6
["Objective-C", "Swift"].sum(\.count) // 16

Implements clutter/iOS#13.

@u2606 u2606 requested a review from litso December 15, 2020 22:42
@u2606 u2606 force-pushed the sum-convenience-method branch from b67170b to 48972a7 Compare December 15, 2020 22:48
@u2606 u2606 force-pushed the sum-convenience-method branch from 48972a7 to 09a0d7b Compare December 18, 2020 18:26
TiltUpTest now requires TiltUp to be the same version as TiltUpTest, if
the latter is present.
@u2606 u2606 merged commit a0f15e0 into master Jan 6, 2021
@u2606 u2606 deleted the sum-convenience-method branch January 6, 2021 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants