Maybe package:Agda

Extend Maybe by common operations for the Maybe type. Note: since this module is usually imported unqualified, we do not use short names, but all names contain Maybe, Just, or 'Nothing.
Projection-likeness analysis has not run on this function yet. It may do so in the future.
Placeholders are used to represent the underscores in a section.
If the next command from the command queue is anything but an actual command, then the command is returned. If the command is an IOTCM command, then the following happens: The given computation is applied to the command and executed. If an abort command is encountered (and acted upon), then the computation is interrupted, the persistent state and all options are restored, and some commands are sent to the frontend. If the computation was not interrupted, then its result is returned.
When given expression is e1 = e2, turn it into a named expression. Call this inside an implicit argument {e} or {{e}}, where an equality must be a named argument (rather than a cubical partial match).
Safe projection from Left.
maybeLeft (Left a) = Just a
maybeLeft Right{}  = Nothing
Safe projection from Right.
maybeRight (Right b) = Just b
maybeRight Left{}    = Nothing
Convert Maybe to Either e, given an error e for the Nothing case.
Monadic version of maybe.
COMPILE GHC pragma for MAYBE; ignored.
Confluence checker got stuck on computing overlap between two rewrite rules