• GissaMittJobb
    link
    fedilink
    arrow-up
    2
    ·
    9 months ago

    Looks vaguely like Stream::peek from Java, I think? There’s an equivalent method in Iterator::inspect.