@@ -681,7 +681,7 @@ parserParseOne' parser = allocaBytes eventSize $ \er -> do
681681-- | Whether a tag should be rendered explicitly in the output or left
682682-- implicit.
683683--
684−-- @since 0.11.1.0
684+-- @since 0.1.1.0
685685data TagRender = Explicit | Implicit
686686 deriving (Enum)
687687
@@ -693,7 +693,7 @@ toImplicitParam Implicit = 1
693693-- collection tags but all scalar tags (unless suppressed with styles
694694-- 'NoTag or 'PlainNoTag').
695695--
696−-- @since 0.11.1.0
696+-- @since 0.1.1.0
697697renderScalarTags :: Event -> TagRender
698698renderScalarTags (EventScalar _ _ _ _) = Explicit
699699renderScalarTags (EventSequenceStart _ _ _) = Implicit
@@ -703,21 +703,21 @@ renderScalarTags _ = Implicit
703703-- | A value for 'formatOptionsRenderTags' that renders all
704704-- tags (except 'NoTag' tag and 'PlainNoTag' style).
705705--
706−-- @since 0.11.1.0
706+-- @since 0.1.1.0
707707renderAllTags :: Event -> TagRender
708708renderAllTags _ = Explicit
709709
710710-- | A value for 'formatOptionsRenderTags' that renders no
711711-- tags.
712712--
713−-- @since 0.11.1.0
713+-- @since 0.1.1.0
714714renderNoTags :: Event -> TagRender
715715renderNoTags _ = Implicit
716716
717717-- | A value for 'formatOptionsRenderCollectionTags' that renders tags
718718-- which are instances of 'UriTag'
719719--
720−-- @since 0.11.1.0
720+-- @since 0.1.1.0
721721renderUriTags :: Event -> TagRender
722722renderUriTags (EventScalar _ UriTag{} _ _) = Explicit
723723renderUriTags (EventSequenceStart UriTag{} _ _) = Explicit
@@ -748,7 +748,7 @@ setWidth w opts = opts { formatOptionsWidth = w }
748748
749749-- | Control when and whether tags are rendered to output.
750750--
751−-- @since 0.11.1.0
751+-- @since 0.1.1.0
752752setTagRendering :: (Event -> TagRender) -> FormatOptions -> FormatOptions
753753setTagRendering f opts = opts { formatOptionsRenderTags = f }
754754