propellor-5.15: property-based host configuration management in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Propellor.Types.Result

Synopsis

Documentation

data Result Source #

There can be three results of satisfying a Property.

Instances

Instances details
Monoid Result Source # 
Instance details

Defined in Propellor.Types.Result

Semigroup Result Source # 
Instance details

Defined in Propellor.Types.Result

Read Result Source # 
Instance details

Defined in Propellor.Types.Result

Show Result Source # 
Instance details

Defined in Propellor.Types.Result

Eq Result Source # 
Instance details

Defined in Propellor.Types.Result

Methods

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

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

ActionResult Result Source # 
Instance details

Defined in Propellor.Types.Result

ToResult Result Source # 
Instance details

Defined in Propellor.Types.Result

Monoid (Propellor Result) Source # 
Instance details

Defined in Propellor.Types.Core

Semigroup (Propellor Result) Source #

When two actions are appended together, the second action is only run if the first action does not fail.

Instance details

Defined in Propellor.Types.Core

class ToResult t where Source #

Methods

toResult :: t -> Result Source #

Instances

Instances details
ToResult Result Source # 
Instance details

Defined in Propellor.Types.Result

ToResult Bool Source # 
Instance details

Defined in Propellor.Types.Result

Methods

toResult :: Bool -> Result Source #

class ActionResult a where Source #

Results of actions, with color.

Instances

Instances details
ActionResult Result Source # 
Instance details

Defined in Propellor.Types.Result

ActionResult Bool Source # 
Instance details

Defined in Propellor.Types.Result