trifecta 0.8 → 0.8.0.1
raw patch · 2 files changed
+15/−15 lines, 2 files
Files
- Text/Trifecta/Delta.hs +14/−14
- trifecta.cabal +1/−1
Text/Trifecta/Delta.hs view
@@ -18,20 +18,20 @@ import Text.Trifecta.Bytes data Delta- = Columns {-# UNPACK #-} !Int -- ^ the number of characters- {-# UNPACK #-} !Int -- ^ the number of bytes- | Tab {-# UNPACK #-} !Int -- ^ the number of characters before the tab- {-# UNPACK #-} !Int -- ^ the number of characters after the tab- {-# UNPACK #-} !Int -- ^ the number of bytes- | Lines {-# UNPACK #-} !Int -- ^ the number of newlines contained- {-# UNPACK #-} !Int -- ^ the number of characters since the last newline- {-# UNPACK #-} !Int -- ^ number of bytes- {-# UNPACK #-} !Int -- ^ the number of bytes since the last newline- | Directed !Path -- ^ the sequence of #line directives since the start of the file- {-# UNPACK #-} !Int -- ^ the number of lines since the last line directive- {-# UNPACK #-} !Int -- ^ the number of characters since the last newline- {-# UNPACK #-} !Int -- ^ number of bytes- {-# UNPACK #-} !Int -- ^ the number of bytes since the last newline+ = Columns {-# UNPACK #-} !Int -- the number of characters+ {-# UNPACK #-} !Int -- the number of bytes+ | Tab {-# UNPACK #-} !Int -- the number of characters before the tab+ {-# UNPACK #-} !Int -- the number of characters after the tab+ {-# UNPACK #-} !Int -- the number of bytes+ | Lines {-# UNPACK #-} !Int -- the number of newlines contained+ {-# UNPACK #-} !Int -- the number of characters since the last newline+ {-# UNPACK #-} !Int -- number of bytes+ {-# UNPACK #-} !Int -- the number of bytes since the last newline+ | Directed !Path -- the sequence of #line directives since the start of the file+ {-# UNPACK #-} !Int -- the number of lines since the last line directive+ {-# UNPACK #-} !Int -- the number of characters since the last newline+ {-# UNPACK #-} !Int -- number of bytes+ {-# UNPACK #-} !Int -- the number of bytes since the last newline deriving (Eq, Ord, Show) column :: HasDelta t => t -> Int
trifecta.cabal view
@@ -1,6 +1,6 @@ name: trifecta category: Text, Parsing-version: 0.8+version: 0.8.0.1 license: BSD3 cabal-version: >= 1.6 license-file: LICENSE