| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cubix.Sin.Compdata.Annotation
Documentation
class Monad m => MonadAnnotater a (m :: Type -> Type) where Source #
Instances
| Default a => MonadAnnotater a AnnotateDefault Source # | Specializing annotation to Maybe a to aid instance selection |
Defined in Cubix.Sin.Compdata.Annotation | |
| (MonadAnnotater a m, MonadTrans t, Monad (t m)) => MonadAnnotater a (t m) Source # | |
| (Monad m, HasLabelGen s) => MonadAnnotater Label (StateT s m) Source # | |
data AnnotateDefault x Source #
Instances
pattern AnnotateDefault :: x -> AnnotateDefault x Source #
runAnnotateDefault :: forall a (f :: Node) l. AnnotateDefault (AnnHFix a f l) -> AnnHFix a f l Source #
annotateM :: forall (f :: (Type -> Type) -> Type -> Type) a (m :: Type -> Type). (HTraversable f, MonadAnnotater a m) => CxtFunM m f (f :&: a) Source #
propAnnSigFun :: forall (f :: Fragment) (g :: Family -> Type -> Type) a. SigFun f g -> SigFun (f :&: a) (g :&: a) Source #
annotateOuter :: forall (f :: (Type -> Type) -> Type -> Type) a m l. (HTraversable f, MonadAnnotater a m) => Context f (AnnHFix a f) l -> m (AnnHFix a f l) Source #