You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes. Using generics is unfortunate in one way, since it makes the interface seem more complicated. But it also enables static checking. I've tested this out at some point, and I think it works.
Activity
vbarrielle commentedon Feb 28, 2016
Yes that's really a nice feature to have, imo it improves readability and prevents some mistakes.
Axis0would be exposed as a constant?bluss commentedon Feb 28, 2016
Yes. Using generics is unfortunate in one way, since it makes the interface seem more complicated. But it also enables static checking. I've tested this out at some point, and I think it works.
bluss commentedon Feb 28, 2016
Oh I think it requires O(n²) impl blocks where n is the number of dimensions supported though (We have up to 12-tuples).
vbarrielle commentedon Feb 28, 2016
Maybe macros can help on that point, but I wouldn't know, I've not written many macros yet.
bluss commentedon Feb 29, 2016
Fixed by #97