Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Text.Emoji
Documentation
emojis :: [(Text, Text)] Source #
Association list of (alias, emoji) pairs. Note that the same emoji may have multiple aliases.
replaceEmojis :: (Text -> [Text] -> Text) -> Text -> Text Source #
Replace emojis in a text with alternative text. The replacement function maps an emoji and a list of emoji aliases to a replacement text.
baseEmojis :: [Text] Source #
A list of all valid emoji (not containing zero-width joiners), taken from the Unicode Emoji Specification.