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
It would be beneficial in some cases to consider a lazy version of the sequencing operator (>>) to not lose some output/precomputations in case the program crashes. For example, assuming there exists a "fail" function (PR #1771 ). Currently, we only get the error message "Something's wrong", where one could have been interested in seeing the output "Answer" as well.
modulebuiltinFail;
open importStdlib.Prelude;
builtin fail axiom fail : {A : Type} → String → A;
main : IO;
main := printStringLn "Answer"
>> fail "Something's wrong";
end;
The text was updated successfully, but these errors were encountered:
It would be beneficial in some cases to consider a lazy version of the sequencing operator (>>) to not lose some output/precomputations in case the program crashes. For example, assuming there exists a "fail" function (PR #1771 ). Currently, we only get the error message "Something's wrong", where one could have been interested in seeing the output "Answer" as well.
The text was updated successfully, but these errors were encountered: