Text.Emoji

emojis-0.1.3: Conversion between emoji characters and their names.

Safe Haskell | Safe-Inferred
Language | Haskell2010

Text.Emoji

Synopsis

- emojis :: [(Text, Text)]
- emojiFromAlias :: Text -> Maybe Text
- aliasesFromEmoji :: Text -> Maybe [Text]
- baseEmojis :: [Text]
- zwjEmojis :: [Text]

# Documentation

emojis :: [(Text, Text)] #

Association list of (alias, emoji) pairs. Note that the same emoji may have multiple aliases.

emojiFromAlias :: Text -> Maybe Text #

Lookup an emoji given its alias.

aliasesFromEmoji :: Text -> Maybe [Text] #

Lookup the aliases of an emoji.

baseEmojis :: [Text] #

A list of all valid emoji (not containing zero-width joiners), taken from the Unicode Emoji Specification.

zwjEmojis :: [Text] #

A list of all valid emoji built from zero-width joiners, taken from the Unicode Emoji Specification.