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.

貢獻者指南