| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
CMark.Lens
Synopsis
- _posInfo :: Functor f => (Maybe PosInfo -> f (Maybe PosInfo)) -> Node -> f Node
- _nodeType :: Functor f => (NodeType -> f NodeType) -> Node -> f Node
- _nodes :: Applicative f => (Node -> f Node) -> Node -> f Node
- _nodesLens :: Functor f => ([Node] -> f [Node]) -> Node -> f Node
- _DOCUMENT :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _THEMATIC_BREAK :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _PARAGRAPH :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _BLOCK_QUOTE :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _ITEM :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _SOFTBREAK :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _LINEBREAK :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _EMPH :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _STRONG :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType)
- _HTML_BLOCK :: (Choice p, Applicative f) => p Text (f Text) -> p NodeType (f NodeType)
- _TEXT :: (Choice p, Applicative f) => p Text (f Text) -> p NodeType (f NodeType)
- _HTML_INLINE :: (Choice p, Applicative f) => p Text (f Text) -> p NodeType (f NodeType)
- _CODE :: (Choice p, Applicative f) => p Text (f Text) -> p NodeType (f NodeType)
- _HEADING :: (Choice p, Applicative f) => p Level (f Level) -> p NodeType (f NodeType)
- _LIST :: (Choice p, Applicative f) => p ListAttributes (f ListAttributes) -> p NodeType (f NodeType)
- _CUSTOM_BLOCK :: (Choice p, Applicative f) => p (Text, Text) (f (Text, Text)) -> p NodeType (f NodeType)
- _CUSTOM_INLINE :: (Choice p, Applicative f) => p (Text, Text) (f (Text, Text)) -> p NodeType (f NodeType)
- _CODE_BLOCK :: (Choice p, Applicative f) => p (Info, Text) (f (Info, Text)) -> p NodeType (f NodeType)
- _LINK :: (Choice p, Applicative f) => p (Url, Title) (f (Url, Title)) -> p NodeType (f NodeType)
- _IMAGE :: (Choice p, Applicative f) => p (Url, Title) (f (Url, Title)) -> p NodeType (f NodeType)
Documentation
_nodes :: Applicative f => (Node -> f Node) -> Node -> f Node Source #
Traversal' for the child Nodes of a Node. For the Lens' use _nodesLens
_nodesLens :: Functor f => ([Node] -> f [Node]) -> Node -> f Node Source #
Lens' for the child Nodes of a Node. For the Traversal' use _nodes
_THEMATIC_BREAK :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType) Source #
_PARAGRAPH :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType) Source #
_BLOCK_QUOTE :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType) Source #
_SOFTBREAK :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType) Source #
_LINEBREAK :: (Choice p, Applicative f) => p () (f ()) -> p NodeType (f NodeType) Source #
_HTML_BLOCK :: (Choice p, Applicative f) => p Text (f Text) -> p NodeType (f NodeType) Source #
_HTML_INLINE :: (Choice p, Applicative f) => p Text (f Text) -> p NodeType (f NodeType) Source #
_LIST :: (Choice p, Applicative f) => p ListAttributes (f ListAttributes) -> p NodeType (f NodeType) Source #
_CUSTOM_BLOCK :: (Choice p, Applicative f) => p (Text, Text) (f (Text, Text)) -> p NodeType (f NodeType) Source #
_CUSTOM_INLINE :: (Choice p, Applicative f) => p (Text, Text) (f (Text, Text)) -> p NodeType (f NodeType) Source #
_CODE_BLOCK :: (Choice p, Applicative f) => p (Info, Text) (f (Info, Text)) -> p NodeType (f NodeType) Source #