-
Notifications
You must be signed in to change notification settings - Fork 1.1k
No BuildFrom for IArray #19229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
something someone from @scala/collections might like to tackle? |
Another annoyance is IArray doesn't have a Factory so no |
with advent of code 2024 I am again bitten here, relevant methods to copy/cast the Array implementation from:
|
I wouldn't bother with |
what way do you mean? is that more a general statement on opaque type wrappers? or specifically an issue with IArray? |
In cases where you have opaque types where the point is to generate a different interface, that isn't as much of an issue: you don't want to pick up the behavior of the underlying type. That's the point! But with Thus, I think pragmatically, the better approach is just to accept In fact, I'd expect the easier interface to be having a general-purpose box But I have odd preferences sometimes. Maybe |
coming soon™️ with caprese https://infoscience.epfl.ch/entities/publication/0d93a16f-f957-4c40-99db-43ed1301dff3 |
@Ichoran funny - i am quite happy with IArray. almost everything i need, and none of the disconcerning |
@ritschwumm - Well, like I said, my tastes do not match everyone's tastes! |
Compiler version
3.3.1
Minimized code
Output
Expectation
compiles
The text was updated successfully, but these errors were encountered: