You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Int::divide(Int: a, Int: b) -> Result (Int, Error)
Int::mod(Int: a, Int: b) -> Result (Int, Error)
Int::sum(List Int: a) -> Int
One problem here is that the error rail is a little cumbersome, and so making obvious int operations use Results will make them unweildy to use. So we need to iterate on the error rail before this makes sense, practically.
The text was updated successfully, but these errors were encountered:
some arithmetic operations can lead to errors:
These should return
Result (Int, IntError)
:One problem here is that the error rail is a little cumbersome, and so making obvious
int
operations useResults
will make them unweildy to use. So we need to iterate on the error rail before this makes sense, practically.The text was updated successfully, but these errors were encountered: