From ca7cd4ee2470115939523bb985aa576f9d87f18f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 12 Jan 2016 10:26:45 +0100 Subject: cleanup & docs --- bbcode/src/Text/BBCode/Lexer.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bbcode/src/Text/BBCode/Lexer.hs') diff --git a/bbcode/src/Text/BBCode/Lexer.hs b/bbcode/src/Text/BBCode/Lexer.hs index 4ad0792..218427d 100644 --- a/bbcode/src/Text/BBCode/Lexer.hs +++ b/bbcode/src/Text/BBCode/Lexer.hs @@ -5,8 +5,8 @@ module Text.BBCode.Lexer ( BBToken(..) , token - , escapedText - , escapedText' + -- , escapedText + -- , escapedText' ) where import Data.Attoparsec.Text @@ -22,7 +22,7 @@ import Prelude hiding (takeWhile) -- | Our lexicographical unit data BBToken = BBOpen Text [(Text, Text)] -- ^ Tag open with attributes - | BBContained Text [(Text, Text)] + | BBContained Text [(Text, Text)] -- ^ Tag open & immediate close with attributes | BBClose Text -- ^ Tag close | BBStr Text -- ^ Content of a tag deriving (Eq, Show) -- cgit v1.2.3