tinytools-0.1.0.3
Safe HaskellSafe-Inferred
LanguageHaskell2010

Potato.Data.Text.Unicode

Synopsis

Documentation

isSingleGraphemeCluster :: Text -> Bool Source #

True if the Text is a single grapheme cluster, False otherwise

endsInGraphemeCluster :: Text -> Bool Source #

True if the last character in the text is a single grapheme cluster, False otherwise

removeGraphemeCluster :: Text -> Text Source #

removes grapheme clusters from the text and replaces them with the first character in the cluster

containsGraphemeCluster :: Text -> Bool Source #

True if the input text contains a grapheme cluster