HandySwift
HandySwift copied to clipboard
Handy Swift features that didn't make it into the Swift standard library.
## Problem Statement Currently only works on Numeric types. ## Suggested Solution Could be made available for all `AdditiveArithmetic` types: ```swift extension Sequence where Element: AdditiveArithmetic { public func sum()...
Swift has added a `randomElement` feature, we should embrace it for consistency.
## Problem Statement Currently, several algorithmic helpers are added to HandySwift. There's is now a new [Algorithms](https://github.com/apple/swift-algorithms) package though. ## Suggested Solution As there's now an official "Algorithms" package, we...