minimorph-0.1.4.0: English spelling functions with an emphasis on simplicity.
NLP.Minimorph.Util
Description
Text utility functions.
Synopsis
tTakeEnd :: Int -> Text -> TextSource
tTakeEnd n t returns the last n letters of t.
tTakeEnd n t
n
t
tDropEnd :: Int -> Text -> TextSource
tDropEnd n t drops the last n letters of t.
tDropEnd n t
(<>) :: Text -> Text -> TextSource
Identical to append.
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.