Skip to content

proposal: strings, bytes: add JoinSeq #70034

@earthboundkid

Description

@earthboundkid

Proposal Details

#61901 added SplitSeq and friends to bytes, but nothing for joining. Right now you have to do slices.Collect first or use a bytes.Buffer/strings.Builder, which feels unfortunate. I propose to add strings.JoinSeq(seq iter.Seq[string], sep string) string and the bytes equivalent as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions