JuliaLang/julia

implement String(::Base.Generator)

Open

#57.072 aberto em 16 de jan. de 2025

Ver no GitHub
 (10 comments) (2 reactions) (0 assignees)Julia (5.773 forks)batch import
good first issuehelp wantedstrings

Métricas do repositório

Stars
 (48.709 stars)
Métricas de merge de PR
 (Mesclagem média 23d 11h) (145 fundiu PRs em 30d)

Description

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.

Guia do colaborador