Constructors
ChunkchunkText :: !TextchunkMeasure :: !Position
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05
Modulerope-utf16-splay-0.4.0.0Haskell2010
ChunkchunkText :: !TextchunkMeasure :: !PositionEq RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalOrd RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalShow RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalIsString RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalSemigroup RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalAppend joins adjacent chunks if that can be done while staying below chunkLength.
Monoid RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalMeasured Position RopeDefined in rope-utf16-splay-0.4.0.0 · Data.Rope.UTF16.InternalThe maximum length, in UTF-8 code units, of a chunk
Is the rope empty?
Length in UTF-16 code units (not characters)
The number of newlines in the rope
The number of UTF-16 code units (not characters) since the last newline or the start of the rope
Map over the characters of a rope
Concatenate the interspersion of a rope between the elements of a list of ropes
Get the first chunk and the rest of the Rope if non-empty
Get the last chunk and the rest of the Rope if non-empty
Split the rope at the nth UTF-16 code unit (not character)
Take the first n UTF-16 code units (not characters)
Drop the first n UTF-16 code units (not characters)
Get the UTF-16 code unit index in the rope that corresponds to a RowColumn position
Get the RowColumn position that corresponds to a UTF-16 code unit index in the rope
Split the rope immediately after the i:th newline
span f r = (takeWhile f r, dropWhile f r)break f = span (not . f)takeWhile f = fst . span fdropWhile f = snd . span fFold left
A strict version of foldl
Fold right
Do any characters in the rope satisfy the predicate?
Do all characters in the rope satisfy the predicate?