From be6040095fa7ad442c28d5c56ce9da3578807ea4 Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Sat, 12 Feb 2022 21:49:55 +0100 Subject: [PATCH] Haddocks: cosmetic fixes. --- src/Data/YAML/Token.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Data/YAML/Token.hs b/src/Data/YAML/Token.hs index 17dd7e0..e33a469 100644 --- a/src/Data/YAML/Token.hs +++ b/src/Data/YAML/Token.hs @@ -542,17 +542,17 @@ parser ?! decision = peek parser *> commit decision -- | @lookbehind match -> Parser result (?@ matches the current point without consuming any characters --- if it matches the lookahead parser (positive lookahead) +-- if it matches the lookahead parser (positive lookahead). (>?) :: (Match match result) => match -> Parser result (>?) lookahead = peek lookahead --- | @lookahead >?@ matches the current point without consuming any characters --- if it matches the lookahead parser (negative lookahead) +-- | @lookahead >!@ matches the current point without consuming any characters +-- if it matches the lookahead parser (negative lookahead). (>!) :: (Match match result) => match -> Pattern (>!) lookahead = reject lookahead Nothing