points by lemonwaterlime 1 day ago | 0 comments
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.Aún no hay comentarios.