Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
data family Tagged con Source #
Instances
type TagOpticKind x :: OpticKind Source #
tag :: Optic' (TagOpticKind x) NoIx x (Tag (Annotation x)) Source #
Instances
HasTag (Tag ann) Source # | |
Defined in ProAbstract.Tag.HasTag type TagOpticKind (Tag ann) Source # | |
HasTag (Tagged (PlainBlock ann)) Source # | |
Defined in ProAbstract.Structure.PlainBlock type TagOpticKind (Tagged (PlainBlock ann)) Source # tag :: Optic' (TagOpticKind (Tagged (PlainBlock ann))) NoIx (Tagged (PlainBlock ann)) (Tag (Annotation (Tagged (PlainBlock ann)))) Source # | |
HasTag (Tagged (Lines ann)) Source # | |
Defined in ProAbstract.Structure.Inline type TagOpticKind (Tagged (Lines ann)) Source # | |
HasTag (Tagged (Blocks ann)) Source # | |
Defined in ProAbstract.Structure.Block type TagOpticKind (Tagged (Blocks ann)) Source # | |
HasTag (Inline ann) Source # | |
Defined in ProAbstract.Structure.Inline type TagOpticKind (Inline ann) Source # | |
HasTag (Block ann) Source # | |
Defined in ProAbstract.Structure.Block type TagOpticKind (Block ann) Source # | |
HasTag (BlockTag ann) Source # | |
Defined in ProAbstract.Structure.BlockTag type TagOpticKind (BlockTag ann) Source # |
class HasManyTags x where Source #
allTags :: Traversal' x (Tag (Annotation x)) Source #
allInlineTags :: Traversal' x (Tag (Annotation x)) Source #
Instances
class HasWitherableTags x where Source #
witherTags :: Monad f => (Tag (Annotation x) -> f (Maybe (Tag (Annotation x)))) -> x -> f x Source #
mapMaybeTags :: (Tag (Annotation x) -> Maybe (Tag (Annotation x))) -> x -> x Source #
Instances
class HasManyTags x => HasManyBlockTags x where Source #
allBlockTags :: Traversal' x (Tag (Annotation x)) Source #
Instances
HasManyBlockTags (Tagged (Blocks ann)) Source # | |
Defined in ProAbstract.Structure.Block allBlockTags :: Traversal' (Tagged (Blocks ann)) (Tag (Annotation (Tagged (Blocks ann)))) Source # | |
HasManyBlockTags (Blocks ann) Source # | |
Defined in ProAbstract.Structure.Block allBlockTags :: Traversal' (Blocks ann) (Tag (Annotation (Blocks ann))) Source # | |
HasManyBlockTags (Block ann) Source # | |
Defined in ProAbstract.Structure.Block allBlockTags :: Traversal' (Block ann) (Tag (Annotation (Block ann))) Source # | |
HasManyBlockTags (Document ann) Source # | |
Defined in ProAbstract.Structure.Document allBlockTags :: Traversal' (Document ann) (Tag (Annotation (Document ann))) Source # |
class HasManyBlockTags x => HasWitherableBlockTags x where Source #
witherBlockTags :: Monad f => (Tag (Annotation x) -> f (Maybe (Tag (Annotation x)))) -> x -> f x Source #
mapMaybeBlockTags :: (Tag (Annotation x) -> Maybe (Tag (Annotation x))) -> x -> x Source #
Instances
HasWitherableBlockTags (Blocks ann) Source # | |
Defined in ProAbstract.Structure.Block witherBlockTags :: Monad f => (Tag (Annotation (Blocks ann)) -> f (Maybe (Tag (Annotation (Blocks ann))))) -> Blocks ann -> f (Blocks ann) Source # mapMaybeBlockTags :: (Tag (Annotation (Blocks ann)) -> Maybe (Tag (Annotation (Blocks ann)))) -> Blocks ann -> Blocks ann Source # | |
HasWitherableBlockTags (Document ann) Source # | |
Defined in ProAbstract.Structure.Document witherBlockTags :: Monad f => (Tag (Annotation (Document ann)) -> f (Maybe (Tag (Annotation (Document ann))))) -> Document ann -> f (Document ann) Source # mapMaybeBlockTags :: (Tag (Annotation (Document ann)) -> Maybe (Tag (Annotation (Document ann)))) -> Document ann -> Document ann Source # |
class HasManyTags x => HasWitherableInlineTags x where Source #
witherInlineTags :: Monad f => (Tag (Annotation x) -> f (Maybe (Tag (Annotation x)))) -> x -> f x Source #
mapMaybeInlineTags :: (Tag (Annotation x) -> Maybe (Tag (Annotation x))) -> x -> x Source #