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