| Portability | non-portable |
|---|---|
| Stability | experimental |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
Text.Trifecta.Rope
Contents
Description
- data Rope
- rope :: FingerTree Delta Strand -> Rope
- strands :: Rope -> FingerTree Delta Strand
- data Strand
- = Strand !ByteString !Delta
- | LineDirective !ByteString !Int64
- strand :: ByteString -> Strand
- data Delta
- class HasDelta t where
- class HasBytes t where
- data HighlightedRope = HighlightedRope {
- ropeHighlights :: !Highlights
- ropeContent :: !Rope
Documentation
Strands of a rope
Constructors
| Strand !ByteString !Delta | |
| LineDirective !ByteString !Int64 |
strand :: ByteString -> StrandSource
Properties
Instances
| HasDelta Char | |
| HasDelta Word8 | |
| HasDelta ByteString | |
| HasDelta Delta | |
| HasDelta Rope | |
| HasDelta Strand | |
| HasDelta HighlightedRope | |
| HasDelta Rendering | |
| HasDelta Caret | |
| HasDelta LayoutContext | |
| HasDelta d => HasDelta (LiterateMark d) | |
| HasDelta (Rendered a) | |
| HasDelta (Diagnostic m) | |
| HasDelta (Careted a) | |
| HasDelta d => HasDelta (LayoutMark d) | |
| (HasDelta l, HasDelta r) => HasDelta (Either l r) | |
| (Measured v a, HasDelta v) => HasDelta (FingerTree v a) |
Instances
| HasBytes ByteString | |
| HasBytes Delta | |
| HasBytes Rope | |
| HasBytes Strand | |
| HasBytes HighlightedRope | |
| HasBytes Caret | |
| HasBytes LayoutContext | |
| HasBytes d => HasBytes (LiterateMark d) | |
| HasBytes (Rendered a) | |
| HasBytes (Diagnostic m) | |
| HasBytes (Careted a) | |
| HasBytes d => HasBytes (LayoutMark d) | |
| (Measured v a, HasBytes v) => HasBytes (FingerTree v a) |
data HighlightedRope Source
Constructors
| HighlightedRope | |
Fields
| |