butler-0.0.1.0: At your service.
Safe HaskellSafe-Inferred
LanguageGHC2021

Butler.Core.Process

Synopsis

Documentation

newtype Pid #

Constructors

Pid Natural 

Instances

Instances details
ToJSON Pid # 
Instance details

Defined in Butler.Core.Process

Enum Pid # 
Instance details

Defined in Butler.Core.Process

Methods

succ :: Pid -> Pid #

pred :: Pid -> Pid #

toEnum :: Int -> Pid #

fromEnum :: Pid -> Int #

enumFrom :: Pid -> [Pid] #

enumFromThen :: Pid -> Pid -> [Pid] #

enumFromTo :: Pid -> Pid -> [Pid] #

enumFromThenTo :: Pid -> Pid -> Pid -> [Pid] #

Num Pid # 
Instance details

Defined in Butler.Core.Process

Methods

(+) :: Pid -> Pid -> Pid #

(-) :: Pid -> Pid -> Pid #

(*) :: Pid -> Pid -> Pid #

negate :: Pid -> Pid #

abs :: Pid -> Pid #

signum :: Pid -> Pid #

fromInteger :: Integer -> Pid #

Integral Pid # 
Instance details

Defined in Butler.Core.Process

Methods

quot :: Pid -> Pid -> Pid #

rem :: Pid -> Pid -> Pid #

div :: Pid -> Pid -> Pid #

mod :: Pid -> Pid -> Pid #

quotRem :: Pid -> Pid -> (Pid, Pid) #

divMod :: Pid -> Pid -> (Pid, Pid) #

toInteger :: Pid -> Integer #

Real Pid # 
Instance details

Defined in Butler.Core.Process

Methods

toRational :: Pid -> Rational #

Show Pid # 
Instance details

Defined in Butler.Core.Process

Methods

showsPrec :: Int -> Pid -> ShowS #

show :: Pid -> String #

showList :: [Pid] -> ShowS #

Eq Pid # 
Instance details

Defined in Butler.Core.Process

Methods

(==) :: Pid -> Pid -> Bool #

(/=) :: Pid -> Pid -> Bool #

Ord Pid # 
Instance details

Defined in Butler.Core.Process

Methods

compare :: Pid -> Pid -> Ordering #

(<) :: Pid -> Pid -> Bool #

(<=) :: Pid -> Pid -> Bool #

(>) :: Pid -> Pid -> Bool #

(>=) :: Pid -> Pid -> Bool #

max :: Pid -> Pid -> Pid #

min :: Pid -> Pid -> Pid #

FromHttpApiData Pid # 
Instance details

Defined in Butler.Core.Process

Serialise Pid # 
Instance details

Defined in Butler.Core.Process

From Pid Natural # 
Instance details

Defined in Butler.Core.Process

Methods

from :: Pid -> Natural #

data Process #

A process is a killable thread.

Constructors

Process 

Fields

Instances

Instances details
ToJSON Process # 
Instance details

Defined in Butler.Core.Process

Show Process # 
Instance details

Defined in Butler.Core.Process

data ProcessStatus #

Constructors

Ready 
Running 
Stopped (Time, ExitReason) 

Instances

Instances details
Show ProcessStatus # 
Instance details

Defined in Butler.Core.Process

Eq ProcessStatus # 
Instance details

Defined in Butler.Core.Process

data ExitReason #

Instances

Instances details
ToJSON ExitReason # 
Instance details

Defined in Butler.Core.Process

Show ExitReason # 
Instance details

Defined in Butler.Core.Process

Eq ExitReason # 
Instance details

Defined in Butler.Core.Process

From ExitReason Text # 
Instance details

Defined in Butler.Core.Process

Methods

from :: ExitReason -> Text #

newtype ProgramName #

Constructors

ProgramName Text 

Instances

Instances details
FromJSON ProgramName # 
Instance details

Defined in Butler.Core.Process

ToJSON ProgramName # 
Instance details

Defined in Butler.Core.Process

IsString ProgramName # 
Instance details

Defined in Butler.Core.Process

Semigroup ProgramName # 
Instance details

Defined in Butler.Core.Process

Generic ProgramName # 
Instance details

Defined in Butler.Core.Process

Associated Types

type Rep ProgramName :: Type -> Type #

Show ProgramName # 
Instance details

Defined in Butler.Core.Process

Eq ProgramName # 
Instance details

Defined in Butler.Core.Process

Ord ProgramName # 
Instance details

Defined in Butler.Core.Process

ToHtml ProgramName # 
Instance details

Defined in Butler.Core.Process

Methods

toHtml :: forall (m :: Type -> Type). Monad m => ProgramName -> HtmlT m () #

toHtmlRaw :: forall (m :: Type -> Type). Monad m => ProgramName -> HtmlT m () #

Serialise ProgramName # 
Instance details

Defined in Butler.Core.Process

From ProgramName Text # 
Instance details

Defined in Butler.Core.Process

Methods

from :: ProgramName -> Text #

From Text ProgramName # 
Instance details

Defined in Butler.Core.Process

Methods

from :: Text -> ProgramName #

From Natural ProgramName # 
Instance details

Defined in Butler.Core.Process

Methods

from :: Natural -> ProgramName #

type Rep ProgramName # 
Instance details

Defined in Butler.Core.Process

type Rep ProgramName = D1 ('MetaData "ProgramName" "Butler.Core.Process" "butler-0.0.1.0-inplace" 'True) (C1 ('MetaCons "ProgramName" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))