minimorph-0.1.4.0: English spelling functions with an emphasis on simplicity.

Portabilityportable
Stabilityexperimental
Maintainereric.kow@gmail.com
Safe HaskellNone

NLP.Minimorph.Util

Description

Text utility functions.

Synopsis

Documentation

tTakeEnd :: Int -> Text -> TextSource

tTakeEnd n t returns the last n letters of t.

tDropEnd :: Int -> Text -> TextSource

tDropEnd n t drops the last n letters of t.

(<>) :: Text -> Text -> TextSource

Identical to append.

(<+>) :: Text -> Text -> TextSource

Separated by space unless one of them is empty (in which case just the non-empty one).

showT :: Show a => a -> TextSource

Show a value in Text format.