Hacker News new | ask | show | jobs
by apta 2193 days ago
The alternative is not the Result type you defined, but something along the lines of what languages like Rust or Haskell define: https://doc.rust-lang.org/std/result/