JuliaLang/julia

implement String(::Base.Generator)

Open

#57,072 opened on 2025年1月16日

GitHub で見る
 (10 comments) (2 reactions) (0 assignees)Julia (5,773 forks)batch import
good first issuehelp wantedstrings

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (平均マージ 20d 6h) (30d で 157 merged PRs)

説明

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.

コントリビューターガイド