Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype Pid = Pid Natural
- data Process = Process {}
- processID :: Process -> Text
- data ProcessStatus
- = Ready
- | Running
- | Stopped (Time, ExitReason)
- data ExitReason
- newtype ProgramName = ProgramName Text
Documentation
Instances
ToJSON Pid # | |
Defined in Butler.Core.Process | |
Enum Pid # | |
Num Pid # | |
Integral Pid # | |
Real Pid # | |
Defined in Butler.Core.Process toRational :: Pid -> Rational # | |
Show Pid # | |
Eq Pid # | |
Ord Pid # | |
FromHttpApiData Pid # | |
Defined in Butler.Core.Process parseUrlPiece :: Text -> Either Text Pid # parseHeader :: ByteString -> Either Text Pid # | |
Serialise Pid # | |
From Pid Natural # | |
Defined in Butler.Core.Process |
A process is a killable thread.
Process | |
|
data ProcessStatus #
Instances
Show ProcessStatus # | |
Defined in Butler.Core.Process showsPrec :: Int -> ProcessStatus -> ShowS # show :: ProcessStatus -> String # showList :: [ProcessStatus] -> ShowS # | |
Eq ProcessStatus # | |
Defined in Butler.Core.Process (==) :: ProcessStatus -> ProcessStatus -> Bool # (/=) :: ProcessStatus -> ProcessStatus -> Bool # |
data ExitReason #
Instances
ToJSON ExitReason # | |
Defined in Butler.Core.Process toJSON :: ExitReason -> Value # toEncoding :: ExitReason -> Encoding # toJSONList :: [ExitReason] -> Value # toEncodingList :: [ExitReason] -> Encoding # | |
Show ExitReason # | |
Defined in Butler.Core.Process showsPrec :: Int -> ExitReason -> ShowS # show :: ExitReason -> String # showList :: [ExitReason] -> ShowS # | |
Eq ExitReason # | |
Defined in Butler.Core.Process (==) :: ExitReason -> ExitReason -> Bool # (/=) :: ExitReason -> ExitReason -> Bool # | |
From ExitReason Text # | |
Defined in Butler.Core.Process from :: ExitReason -> Text # |
newtype ProgramName #