HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Moduletext-zipper-0.13Haskell2010

Data.Text.Zipper.Generic.Words

Implements word movements.

Copyright (c) Hans-Peter Deifel

Synopsis
  • 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).