rope-utf16-splay

Ropes optimised for updating using UTF-16 code units and row/column pairs.

https://github.com/ollef/rope-utf16-splay

LTS Haskell 22.39:0.4.0.0
Stackage Nightly 2024-10-31:0.4.0.0
Latest on Hackage:0.4.0.0

See all snapshots rope-utf16-splay appears in

BSD-3-Clause licensed by Olle Fredriksson
Maintained by [email protected]
This version can be pinned in stack with:rope-utf16-splay-0.4.0.0@sha256:2237ca21b950f5a45971f09ea2d38532a8e06949c82629095351e4bff5207aed,2034
Depends on 2 packages(full list with versions):

rope-utf16-splay Build Status Hackage

Thick strings optimised for indexing and updating using UTF-16 code units and row/column pairs.

This implementation uses splay trees instead of the usual finger trees, which is faster according to the benchmarks.

Contact

Olle Fredriksson - https://github.com/ollef

Changes

0.4.0.0

  • Support text-2.0 and up without backward compatibility

0.3.2.0

  • Add codeUnitsRowColumn function

0.3.1.0

  • Add splitAtLine function

0.3.0.0

  • Add rows and columns functions
  • Make Position module internal
  • Add map and intersperse functions
  • Add foldl, foldl', foldr, any, and all functions

0.2.0.0

  • Rename rowColumnCodePoints to rowColumnCodeUnits
  • Add null function

0.1.0.0

  • Initial release