[swift-evolution] Proposal: Contiguous Variables (A.K.A. Fixed Sized Array Type)
davesweeris at mac.com
davesweeris at mac.com
Fri Jan 29 03:54:13 CST 2016
Same here, but can’t we wrap them?
struct Vector<(4 x T) where T: MathType> {}
- Dave Sweeris
> On Jan 29, 2016, at 01:01, Tino Heth via swift-evolution <swift-evolution at swift.org> wrote:
>
> Damn, I'm way to slow writing proposals…
>
> I have one big problem with using tuples as basis for fixed-size vectors:
> They cannot have methods, and I want a matrix-type to have some of those.
>
> Have a look at
> https://github.com/SwiftTypesafeCalculations/Home/wiki/compile-time%20parameters
> if you want to see what I'd prefer instead — hopefully, I can spare an hour or two today to finish the text.
>
> Tino
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
More information about the swift-evolution
mailing list