-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add missing Factory
for IArray
#22610
-
The regular scala.Array
object has a implicit def toFactory[A: ClassTag]: Factory[A, Array[A]]
(with a dummy implicit for some, probably good but maybe Scala 2 related, reason).
It would be nice if the equivalent method was added to IArray
's companion object too, as this would allow for generic algorithms that construct immutable arrays.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 3 comments
-
(I'm happy to do this if there is no good reason not to do so)
Beta Was this translation helpful? Give feedback.
All reactions
-
also the BuildFrom instance is missing : #19229
Beta Was this translation helpful? Give feedback.
All reactions
-
I think it would be a good idea to add it. @j-mie6 if you are still interested, please go ahead!
Beta Was this translation helpful? Give feedback.