Swiftpack.co - Package - dn-m/Structure

Structure

Swift Build Status

Algebraic and data structures in Swift 4.2. The Structure package consists of four modules:

Destructure

Module which includes a single extension of Sequence, which breaks it into a head and tail for functional-style recursive implementations of algorithms.

extension Sequence {
    /// 2-tuple containing the `head` and `tail` of a given `Sequence`.
    public var destructured: (Element, AnySequence<Element>)?
}  

Algebra

Protocols for representing Algebraic structures (Semigroup, Monoid, etc.), and their operations.

DataStructures

Data structures which are not included in the Standard Library.

Algorithms

Algorithms over the Standard Library built-in data structures.

Github

link
Stars: 3
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

0.18.0 - Sep 12, 2018

0.17.0 - Sep 10, 2018

0.16.1 - Sep 9, 2018

0.16.0 - Sep 9, 2018

0.15.1 - Sep 7, 2018