Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- getCharWidth :: Char -> Int8
- removeWideChars :: Text -> Text
- internal_getCharacterBreaks :: Text -> [Break ()]
- zwidge :: Char
- isSingleGraphemeCluster :: Text -> Bool
- endsInGraphemeCluster :: Text -> Bool
- removeGraphemeCluster :: Text -> Text
- containsGraphemeCluster :: Text -> Bool
Documentation
getCharWidth :: Char -> Int8 Source #
removeWideChars :: Text -> Text Source #
internal_getCharacterBreaks :: Text -> [Break ()] Source #
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