Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (cc ~ Cv m, MonadMeta s m) => MonadConstraint cc s m where Source
askConstraint :: m (ConstraintEnv cc) Source
localConstraint :: (ConstraintEnv cc -> ConstraintEnv cc) -> m a -> m a Source
MonadConstraint cc s m => MonadConstraint cc s (MaybeT m) | |
MonadConstraint cc s (CM cc s) |
CM | |
|
class HasConstraintEnv t cc | t -> cc where Source
constraintEnv :: Lens' t (ConstraintEnv cc) Source
HasConstraintEnv (ConstraintEnv cc) cc |
viewConstraint :: MonadConstraint cc s m => Getting a (ConstraintEnv cc) a -> m a Source
superclasses :: MonadConstraint cc s m => Type k t -> m [Type k t] Source