HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletext-zipper-0.13Haskell2010

Data.Text.Zipper.Generic.Words

Implements word movements.

Copyright (c) Hans-Peter Deifel

  • 4 values
  • Packagetext-zipper-0.13
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceWords.hs

Move one word to the left.

A word is defined as a consecutive string not satisfying isSpace. This function always leaves the cursor at the beginning of a word (except at the very start of the text).

Move one word to the right.

A word is defined as a consecutive string not satisfying isSpace. This function always leaves the cursor at the end of a word (except at the very end of the text).