Open robertbastian opened 5 days ago
If the 7 emoji sets are the only users of this type, I'm fine calling it EmojiSetData
Names for things (discussed with @sffc @Manishearth @robertbastian)
Noting that UTR 23 documents "properties of strings", so it is a property, but since BinaryStringProperty is ambiguous EmojiSet seems fine.
Currently, "Basic Emoji" is modeled as a property, but it's not really a property because it's not a binary or enum classification for a code point. Instead, it is defined as a set, and because properties induce sets, this works, but isn't really logically sound. "Basic Emoji" is also the only "property" that induces a
UnicodeSetData
instead of aCodePoint[Set/Map]Data
.Instead, let's call it what it is: an Emoji set. There are in fact 7 Emoji sets defined in TR51: https://unicode.org/reports/tr51/#Emoji_Sets, which we might want to support in the future.