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