core-text

A rope type based on a finger tree over UTF-8 fragments

https://github.com/aesiniath/unbeliever#readme

Version on this page:0.3.7.2
LTS Haskell 22.17:0.3.8.1
Stackage Nightly 2024-04-19:0.3.8.1
Latest on Hackage:0.3.8.1

See all snapshots core-text appears in

MIT licensed and maintained by Andrew Cowie
This version can be pinned in stack with:core-text-0.3.7.2@sha256:dba9fd55bb80f58a17b10d432a075586b2b90235e22835f42e354b4f1b352d1b,2257

Module documentation for 0.3.7.2

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.