JuliaLang/julia

implement String(::Base.Generator)

Open

#57 072 ouverte le 16 janv. 2025

Voir sur GitHub
 (10 commentaires) (2 réactions) (0 assignés)Julia (5 773 forks)batch import
good first issuehelp wantedstrings

Métriques du dépôt

Stars
 (48 709 stars)
Métriques de merge PR
 (Merge moyen 23j 11h) (145 PRs mergées en 30 j)

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.

Guide contributeur