Text.Trifecta.Rope.Prim
- data Rope = Rope !Delta !(FingerTree Delta Strand)
- rope :: FingerTree Delta Strand -> Rope
- data Strand
- = Strand !ByteString !Delta
- | LineDirective !ByteString !Int64
- strand :: ByteString -> Strand
- strands :: Rope -> FingerTree Delta Strand
- grabRest :: Delta -> Rope -> r -> (Delta -> ByteString -> r) -> r
- grabLine :: Delta -> Rope -> r -> (Delta -> ByteString -> r) -> r
Documentation
Constructors
Rope !Delta !(FingerTree Delta Strand) |
Constructors
Strand !ByteString !Delta | |
LineDirective !ByteString !Int64 |
strand :: ByteString -> StrandSource