JuliaLang/julia

implement String(::Base.Generator)

Open

#57,072 创建于 2025年1月16日

在 GitHub 查看
 (10 评论) (2 反应) (0 负责人)Julia (5,773 fork)batch import
good first issuehelp wantedstrings

仓库指标

Star
 (48,709 star)
PR 合并指标
 (平均合并 20天 6小时) (30 天内合并 157 个 PR)

描述

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.

贡献者指南