Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AgdaError
- agdaErrorToInt :: AgdaError -> Int
- agdaErrorFromInt :: Int -> Maybe AgdaError
- exitSuccess :: IO a
- exitAgdaWith :: AgdaError -> IO a
Documentation
Instances
Bounded AgdaError Source # | |
Enum AgdaError Source # | |
Defined in Agda.Interaction.ExitCode succ :: AgdaError -> AgdaError # pred :: AgdaError -> AgdaError # fromEnum :: AgdaError -> Int # enumFrom :: AgdaError -> [AgdaError] # enumFromThen :: AgdaError -> AgdaError -> [AgdaError] # enumFromTo :: AgdaError -> AgdaError -> [AgdaError] # enumFromThenTo :: AgdaError -> AgdaError -> AgdaError -> [AgdaError] # | |
Show AgdaError Source # | |
Eq AgdaError Source # | |
agdaErrorToInt :: AgdaError -> Int Source #
Return the error corresponding to an exit code from the Agda process
exitSuccess :: IO a #
The computation exitSuccess
is equivalent to
exitWith
ExitSuccess
, It terminates the program
successfully.
exitAgdaWith :: AgdaError -> IO a Source #