Open Sourcing Identified Collections

Most applications involve working with collections of data in some form, and it's common to model such data as a standard Array. However, as applications grow more complex, the limitations of Arrays might start to cause problems. Thankfully, this open-source library, created by the Point Free team, can help. It provides a new type called IdentifiedArray for working with collections of identifiable elements in a performant way.

Standard library behavior change for LazyMapCollection prefix to act as a Sequence

The Swift standard library provides lazy variations of its Sequence and Collection types, on which operations such as map and filter are implemented lazily. This means that the actual computations will only occur when the results are needed. In this Swift evolution pitch, Greg Titus proposes an addition to the standard library that improves the behavior of the LazyMapCollection type.

Swiftʼs Collection Types

The Swift standard library provides a whole suite of Sequence and Collection protocols, together with a large number of concrete types conforming to these protocols such as Array, Set, Dictionary, etc. In this detailed post, Harshil Shah covers all of the public types which make up Swift's Collection protocol hierarchy, examining Sequence, Collection, Array, and everything in between. An excellent post, and one to bookmark for future reference.