MIT licensed and maintained by Andrew Cowie
This version can be pinned in stack with:core-text-,2263

Module documentation for

  • Core
    • Core.Text
      • Core.Text.Bytes
      • Core.Text.Colour
      • Core.Text.Rope
      • Core.Text.Utilities

A rope data type for text, built as a finger tree over UTF-8 text fragments. The package also includes utiltiy functions for breaking and re-wrapping lines, conveniences for pretty printing and colourizing terminal output, and a simple mechanism for multi-line Rope literals.

The main Rope type and its usage are described at Core.Text.Rope in this package.

This is part of a library intended to ease interoperability and assist in building command-line programs, both tools and longer-running daemons. A list of features and some background to the library's design is contained in the README on GitHub.