Comment by lemonwaterlime
1 day ago
In Haskell, one would return a Maybe or an Either here.
Maybe
——————
Just hash
Nothing
Either
——————————
Left err
Right hash
The program would be designed around not allowing this failure mode to even be possible.
No comments yet
Contribute on Hacker News ↗