rope-utf16-splay

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

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

Version on this page:0.3.1.0
LTS Haskell 22.14:0.4.0.0
Stackage Nightly 2024-03-28: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.3.1.0@sha256:15a53c57f8413d193054bb5f045929edae3b2669def4c6af63197b30dc1d5003,2029
Depends on 2 packages(full list with versions):
Used by 2 packages in lts-14.21(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.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