[swift-evolution] [Pitch?] Way to declare a Swift Array that guarantees it can't be empty

Tino Heth 2th at gmx.de
Tue Aug 8 06:39:45 CDT 2017


I think it would make sense to have arrays with a minimal size, but wouldn't consider it very important.
But there is a long-running discussion about fixed-size arrays, and depending on (if any) solution is chosen for them, your use case could be solved rather easy as well.


More information about the swift-evolution mailing list