(Replying to PARENT post)
There's a proposal for complex numbers: https://github.com/ziglang/zig/issues/16278
Vectors are already first-class types via @Vector, aren't they?
๐คdefen๐2y๐ผ0๐จ๏ธ0
Vectors are already first-class types via @Vector, aren't they?
(Replying to PARENT post)
In any case, if something practical is done here I'd be interested. Aesthetically I prefer the "vectors and matrices are first class types" (and maybe complex numbers could be too), but I guess Andrew isn't so sympathetic to these types being part of the standard language :/