JuliaLang/julia

implement String(::Base.Generator)

Offen

#57.072 geöffnet am 16.01.2025

 (10 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Julia (5.773 Forks)batch import
good first issuehelp wantedstrings

Repository-Metriken

Stars
 (48.709 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 20T 6h) (157 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide