Rope package:trifecta

A rope is a data strucure to efficiently store and manipulate long strings. Wikipedia provides a nice overview: https://en.wikipedia.org/wiki/Rope_(data_structure)
Construct a Rope out of a single ByteString strand.
A HighlightedRope is a Rope with an associated IntervalMap full of highlighted regions.