JuliaLang/julia

implement String(::Base.Generator)

Open

#57.072 aperta il 16 gen 2025

Vedi su GitHub
 (10 commenti) (2 reazioni) (0 assegnatari)Julia (5773 fork)batch import
good first issuehelp wantedstrings

Metriche repository

Star
 (48.709 star)
Metriche merge PR
 (Merge medio 23g 11h) (145 PR mergiate in 30 g)

Descrizione

I was hoping that this would work:

String(Iterators.map(c->c+1, "Hello, world"))

Instead it's a method error. We should allow the String constructor to take a generator argument.

Guida contributor