Copyright | (C) 2011-2015 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Text.Trifecta.Delta
Description
Documentation
Minimal complete definition
Instances
HasDelta Char # | |
HasDelta Word8 # | |
HasDelta ByteString # | |
HasDelta Delta # | |
HasDelta Rope # | |
HasDelta Strand # | |
HasDelta Rendering # | |
HasDelta Caret # | |
HasDelta HighlightedRope # | |
HasDelta (Careted a) # | |
HasDelta (Rendered a) # | |
(HasDelta l, HasDelta r) => HasDelta (Either l r) # | |
(Measured v a, HasDelta v) => HasDelta (FingerTree v a) # | |
Minimal complete definition
near :: (HasDelta s, HasDelta t) => s -> t -> Bool #
Should we show two things with a Delta
on the same line?
column :: HasDelta t => t -> Int64 #
Retrieve the character offset within the current line from this Delta
.
columnByte :: Delta -> Int64 #
Retrieve the byte offset within the current line from this Delta
.