• owsei@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    it’s just a way to use map with a reference instead of the value, by what I understood.

    could be usefull for logging values in a Result so you can see it. However I think you can already do that by just mapping and returning the variable.