JuliaLang/julia

implement String(::Base.Generator)

Ouverte

#57 072 ouverte le 16 janv. 2025

 (10 commentaires) (2 réactions) (0 personne assignée)Julia (5 773 forks)batch import
good first issuehelp wantedstrings

Métriques du dépôt

Stars
 (48 709 étoiles)
Métriques de merge PR
 (Merge moyen 20j 6h) (157 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