• nickA
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Kind of, being able to unwrap it doesn’t really follow the monad laws. A more correct example of a monad in OO would be something like a Promise in JavaScript imo.