The monad in Lake for main-like functions.
Supports IO, logging, and exit.
Equations
Instances For
@[inline]
Exit with given return code.
Equations
Instances For
@[inline]
Try this and catch exits.
Equations
Instances For
@[inline]
Try this and catch error codes (i.e., non-zero exits).
Equations
Instances For
@[inline]
Exit with a generic error code (i.e., 1).
Equations
Instances For
@[inline]
If this exits with an error code (i.e., not 0), perform other.
Equations
Instances For
@[inline]
Print out a error line with the given message and then exit with an error code.
Equations
Instances For