Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Synopsis
- data Result
- class ToResult t where
- class ActionResult a where
- getActionResult :: a -> (String, ColorIntensity, Color)
Documentation
There can be three results of satisfying a Property.
Instances
Eq Result Source # | |
Read Result Source # | |
Show Result Source # | |
Semigroup Result Source # | |
Monoid Result Source # | |
ActionResult Result Source # | |
Defined in Propellor.Types.Result getActionResult :: Result -> (String, ColorIntensity, Color) Source # | |
ToResult Result Source # | |
Semigroup (Propellor Result) Source # | When two actions are appended together, the second action is only run if the first action does not fail. |
Monoid (Propellor Result) Source # | |
class ActionResult a where Source #
Results of actions, with color.
getActionResult :: a -> (String, ColorIntensity, Color) Source #
Instances
ActionResult Bool Source # | |
Defined in Propellor.Types.Result getActionResult :: Bool -> (String, ColorIntensity, Color) Source # | |
ActionResult Result Source # | |
Defined in Propellor.Types.Result getActionResult :: Result -> (String, ColorIntensity, Color) Source # |