shrun
Safe HaskellNone
LanguageGHC2021

Shrun.Configuration.Toml

Synopsis

Documentation

data Toml notifyEnv Source #

Holds toml config.

Constructors

MkToml 

Fields

Instances

Instances details
(k ~ A_Lens, a ~ CoreConfigToml notifyEnv, b ~ CoreConfigToml notifyEnv) => LabelOptic "coreConfig" k (Toml notifyEnv) (Toml notifyEnv) a b Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

labelOptic :: Optic k NoIx (Toml notifyEnv) (Toml notifyEnv) a b Source #

(k ~ A_Lens, a ~ Maybe (Seq KeyVal), b ~ Maybe (Seq KeyVal)) => LabelOptic "legend" k (Toml notifyEnv) (Toml notifyEnv) a b Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

labelOptic :: Optic k NoIx (Toml notifyEnv) (Toml notifyEnv) a b Source #

Monoid (Toml notifyEnv) Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

mempty :: Toml notifyEnv #

mappend :: Toml notifyEnv -> Toml notifyEnv -> Toml notifyEnv #

mconcat :: [Toml notifyEnv] -> Toml notifyEnv #

Semigroup (Toml notifyEnv) Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

(<>) :: Toml notifyEnv -> Toml notifyEnv -> Toml notifyEnv #

sconcat :: NonEmpty (Toml notifyEnv) -> Toml notifyEnv #

stimes :: Integral b => b -> Toml notifyEnv -> Toml notifyEnv #

Show (Toml notifyEnv) Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

showsPrec :: Int -> Toml notifyEnv -> ShowS #

show :: Toml notifyEnv -> String #

showList :: [Toml notifyEnv] -> ShowS #

Eq (Toml notifyEnv) Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

(==) :: Toml notifyEnv -> Toml notifyEnv -> Bool #

(/=) :: Toml notifyEnv -> Toml notifyEnv -> Bool #

DecodeTOML (Toml notifyEnv) Source # 
Instance details

Defined in Shrun.Configuration.Toml

Methods

tomlDecoder :: Decoder (Toml notifyEnv) Source #

mergeTomls :: Seq (Toml notifyEnv) -> Toml notifyEnv Source #

Note that our Semigroup is not commutative, hence the order matters. In particular, mconcat is safe because it is foldr, hence respects the input order.