blucontrol-0.3.0.0: Configurable blue light filter
Safe HaskellNone
LanguageHaskell2010

Blucontrol.Recolor.X

Documentation

data RecolorXT m a Source #

Instances

Instances details
MonadTrans RecolorXT Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

lift :: Monad m => m a -> RecolorXT m a #

MonadTransControl RecolorXT Source # 
Instance details

Defined in Blucontrol.Recolor.X

Associated Types

type StT RecolorXT a #

Methods

liftWith :: Monad m => (Run RecolorXT -> m a) -> RecolorXT m a #

restoreT :: Monad m => m (StT RecolorXT a) -> RecolorXT m a #

MonadBase b m => MonadBase b (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

liftBase :: b α -> RecolorXT m α #

MonadBaseControl b m => MonadBaseControl b (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Associated Types

type StM (RecolorXT m) a #

Methods

liftBaseWith :: (RunInBase (RecolorXT m) b -> b a) -> RecolorXT m a #

restoreM :: StM (RecolorXT m) a -> RecolorXT m a #

Monad m => MonadError XError (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

throwError :: XError -> RecolorXT m a #

catchError :: RecolorXT m a -> (XError -> RecolorXT m a) -> RecolorXT m a #

Monad m => Monad (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

(>>=) :: RecolorXT m a -> (a -> RecolorXT m b) -> RecolorXT m b #

(>>) :: RecolorXT m a -> RecolorXT m b -> RecolorXT m b #

return :: a -> RecolorXT m a #

Functor m => Functor (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

fmap :: (a -> b) -> RecolorXT m a -> RecolorXT m b #

(<$) :: a -> RecolorXT m b -> RecolorXT m a #

Monad m => Applicative (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

pure :: a -> RecolorXT m a #

(<*>) :: RecolorXT m (a -> b) -> RecolorXT m a -> RecolorXT m b #

liftA2 :: (a -> b -> c) -> RecolorXT m a -> RecolorXT m b -> RecolorXT m c #

(*>) :: RecolorXT m a -> RecolorXT m b -> RecolorXT m b #

(<*) :: RecolorXT m a -> RecolorXT m b -> RecolorXT m a #

MonadBaseControl IO m => MonadRecolor (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

type StT RecolorXT a Source # 
Instance details

Defined in Blucontrol.Recolor.X

type StM (RecolorXT m) a Source # 
Instance details

Defined in Blucontrol.Recolor.X

data ConfigX Source #

Constructors

ConfigX 

Instances

Instances details
Eq ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

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

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

Ord ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Read ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Show ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Generic ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Associated Types

type Rep ConfigX :: Type -> Type #

Methods

from :: ConfigX -> Rep ConfigX x #

to :: Rep ConfigX x -> ConfigX #

Default ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

def :: ConfigX #

NFData ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

rnf :: ConfigX -> () #

type Rep ConfigX Source # 
Instance details

Defined in Blucontrol.Recolor.X

type Rep ConfigX = D1 ('MetaData "ConfigX" "Blucontrol.Recolor.X" "blucontrol-0.3.0.0-inplace" 'False) (C1 ('MetaCons "ConfigX" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "displayServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "screen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)))))

data XError Source #

Instances

Instances details
Bounded XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Enum XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Eq XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

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

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

Ord XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Read XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Show XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Generic XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Associated Types

type Rep XError :: Type -> Type #

Methods

from :: XError -> Rep XError x #

to :: Rep XError x -> XError #

NFData XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

rnf :: XError -> () #

Monad m => MonadError XError (RecolorXT m) Source # 
Instance details

Defined in Blucontrol.Recolor.X

Methods

throwError :: XError -> RecolorXT m a #

catchError :: RecolorXT m a -> (XError -> RecolorXT m a) -> RecolorXT m a #

type Rep XError Source # 
Instance details

Defined in Blucontrol.Recolor.X

type Rep XError = D1 ('MetaData "XError" "Blucontrol.Recolor.X" "blucontrol-0.3.0.0-inplace" 'False) ((C1 ('MetaCons "XErrorCloseDisplay" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XErrorOpenDisplay" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "XErrorRead" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "XErrorSetGamma" 'PrefixI 'False) (U1 :: Type -> Type)))