Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add missing Factory for IArray #22610

j-mie6 started this conversation in Feature Requests
Discussion options

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.

You must be logged in to vote

Replies: 3 comments

Comment options

(I'm happy to do this if there is no good reason not to do so)

You must be logged in to vote
0 replies
Comment options

also the BuildFrom instance is missing : #19229

You must be logged in to vote
0 replies
Comment options

I think it would be a good idea to add it. @j-mie6 if you are still interested, please go ahead!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /