Safe Haskell | None |
---|
An interface for a monad that constains the most basic operations to solve constraints. Can be reused for all kinds of constraint-based analyses.
- data BasicState info m = BasicState {
- constraints :: Constraints m
- errors :: [(info, ErrorLabel)]
- conditions :: [(m Bool, String)]
- optionStop :: Option Bool
- optionCheck :: Option Bool
Documentation
data BasicState info m Source
A BasicState is parameterized over the monad in which the constraints can be solved, and over the information that is stored with each constraint.
BasicState | |
|
Embedded ClassBasic (BasicState info m) (BasicState info m) | |
Embedded ClassBasic (Fix (BasicState info) x m) (BasicState info m) | |
Show (BasicState info m) | |
Empty (BasicState info m) | An empty BasicState. |
SolveState (BasicState info m) | |
(MonadState s m, Embedded ClassBasic s (BasicState info m)) => HasBasic (SelectFix (BasicState info) m) info |