[swift-evolution] Proposal: Contiguous Variables (A.K.A. Fixed Sized Array Type)
Tino Heth
2th at gmx.de
Wed Feb 3 03:55:46 CST 2016
> var aMatrix: Matrix<Int> = Matrix(row: 6, columns: 20)
That can be done already — but it is not possible for the compiler to enforce correct handling (matching dimensions for operations on matrix/vectors).
Adding this would be nice, but I was told it is out of scope for Swift 3.
(the proposal-draft I made is here: https://github.com/SwiftTypesafeCalculations/Home/wiki/compile-time%20parameters)
Tino
More information about the swift-evolution
mailing list