Maintainer | hapytexeu+gh@gmail.com |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe |
Language | Haskell2010 |
Unicode defines 2182 emoji characters, this module aims to make working with emoji characters more convenient.
Synopsis
- pattern EmojiSuffix :: Char
- data Flag
- flag :: Char -> Char -> Maybe Flag
- flag' :: Char -> Char -> Flag
- flagChars :: Flag -> (Char, Char)
- iso3166Alpha2ToFlag :: Char -> Char -> Maybe Text
- iso3166Alpha2ToFlag' :: Char -> Char -> Text
- validFlagEmoji :: Char -> Char -> Bool
- data SubFlag
- data Clock
- hours :: Clock -> Int
- minutes30 :: Clock -> Bool
- clock :: Int -> Bool -> Clock
- closestClock :: Int -> Int -> Clock
- data BloodType
- data MoonPhase
- data Gender
- data Zodiac
- data SkinColorModifier
- = Light
- | MediumLight
- | Medium
- | MediumDark
- | Dark
- fromFitzPatrick :: Integral i => i -> Maybe SkinColorModifier
- pattern AC :: Flag
- pattern AD :: Flag
- pattern AE :: Flag
- pattern AF :: Flag
- pattern AG :: Flag
- pattern AI :: Flag
- pattern AL :: Flag
- pattern AM :: Flag
- pattern AO :: Flag
- pattern AQ :: Flag
- pattern AR :: Flag
- pattern AS :: Flag
- pattern AT :: Flag
- pattern AU :: Flag
- pattern AW :: Flag
- pattern AX :: Flag
- pattern AZ :: Flag
- pattern BA :: Flag
- pattern BB :: Flag
- pattern BD :: Flag
- pattern BE :: Flag
- pattern BF :: Flag
- pattern BG :: Flag
- pattern BH :: Flag
- pattern BI :: Flag
- pattern BJ :: Flag
- pattern BL :: Flag
- pattern BM :: Flag
- pattern BN :: Flag
- pattern BO :: Flag
- pattern BQ :: Flag
- pattern BR :: Flag
- pattern BS :: Flag
- pattern BT :: Flag
- pattern BV :: Flag
- pattern BW :: Flag
- pattern BY :: Flag
- pattern BZ :: Flag
- pattern CA :: Flag
- pattern CC :: Flag
- pattern CD :: Flag
- pattern CF :: Flag
- pattern CG :: Flag
- pattern CH :: Flag
- pattern CI :: Flag
- pattern CK :: Flag
- pattern CL :: Flag
- pattern CM :: Flag
- pattern CN :: Flag
- pattern CO :: Flag
- pattern CP :: Flag
- pattern CR :: Flag
- pattern CU :: Flag
- pattern CV :: Flag
- pattern CW :: Flag
- pattern CX :: Flag
- pattern CY :: Flag
- pattern CZ :: Flag
- pattern DE :: Flag
- pattern DG :: Flag
- pattern DJ :: Flag
- pattern DK :: Flag
- pattern DM :: Flag
- pattern DO :: Flag
- pattern DZ :: Flag
- pattern EA :: Flag
- pattern EC :: Flag
- pattern EE :: Flag
- pattern EG :: Flag
- pattern EH :: Flag
- pattern ER :: Flag
- pattern ES :: Flag
- pattern ET :: Flag
- pattern EU :: Flag
- pattern FI :: Flag
- pattern FJ :: Flag
- pattern FK :: Flag
- pattern FM :: Flag
- pattern FO :: Flag
- pattern FR :: Flag
- pattern GA :: Flag
- pattern GB :: Flag
- pattern GD :: Flag
- pattern GE :: Flag
- pattern GF :: Flag
- pattern GG :: Flag
- pattern GH :: Flag
- pattern GI :: Flag
- pattern GL :: Flag
- pattern GM :: Flag
- pattern GN :: Flag
- pattern GP :: Flag
- pattern GQ :: Flag
- pattern GR :: Flag
- pattern GS :: Flag
- pattern GT :: Flag
- pattern GU :: Flag
- pattern GW :: Flag
- pattern GY :: Flag
- pattern HK :: Flag
- pattern HM :: Flag
- pattern HN :: Flag
- pattern HR :: Flag
- pattern HT :: Flag
- pattern HU :: Flag
- pattern IC :: Flag
- pattern ID :: Flag
- pattern IE :: Flag
- pattern IL :: Flag
- pattern IM :: Flag
- pattern IN :: Flag
- pattern IO :: Flag
- pattern IQ :: Flag
- pattern IR :: Flag
- pattern IS :: Flag
- pattern IT :: Flag
- pattern JE :: Flag
- pattern JM :: Flag
- pattern JO :: Flag
- pattern JP :: Flag
- pattern KE :: Flag
- pattern KG :: Flag
- pattern KH :: Flag
- pattern KI :: Flag
- pattern KM :: Flag
- pattern KN :: Flag
- pattern KP :: Flag
- pattern KR :: Flag
- pattern KW :: Flag
- pattern KY :: Flag
- pattern KZ :: Flag
- pattern LA :: Flag
- pattern LB :: Flag
- pattern LC :: Flag
- pattern LI :: Flag
- pattern LK :: Flag
- pattern LR :: Flag
- pattern LS :: Flag
- pattern LT :: Flag
- pattern LU :: Flag
- pattern LV :: Flag
- pattern LY :: Flag
- pattern MA :: Flag
- pattern MC :: Flag
- pattern MD :: Flag
- pattern ME :: Flag
- pattern MF :: Flag
- pattern MG :: Flag
- pattern MH :: Flag
- pattern MK :: Flag
- pattern ML :: Flag
- pattern MM :: Flag
- pattern MN :: Flag
- pattern MO :: Flag
- pattern MP :: Flag
- pattern MQ :: Flag
- pattern MR :: Flag
- pattern MS :: Flag
- pattern MT :: Flag
- pattern MU :: Flag
- pattern MV :: Flag
- pattern MW :: Flag
- pattern MX :: Flag
- pattern MY :: Flag
- pattern MZ :: Flag
- pattern NA :: Flag
- pattern NC :: Flag
- pattern NE :: Flag
- pattern NF :: Flag
- pattern NG :: Flag
- pattern NI :: Flag
- pattern NL :: Flag
- pattern NO :: Flag
- pattern NP :: Flag
- pattern NR :: Flag
- pattern NU :: Flag
- pattern NZ :: Flag
- pattern OM :: Flag
- pattern PA :: Flag
- pattern PE :: Flag
- pattern PF :: Flag
- pattern PG :: Flag
- pattern PH :: Flag
- pattern PK :: Flag
- pattern PL :: Flag
- pattern PM :: Flag
- pattern PN :: Flag
- pattern PR :: Flag
- pattern PS :: Flag
- pattern PT :: Flag
- pattern PW :: Flag
- pattern PY :: Flag
- pattern QA :: Flag
- pattern RE :: Flag
- pattern RO :: Flag
- pattern RS :: Flag
- pattern RU :: Flag
- pattern RW :: Flag
- pattern SA :: Flag
- pattern SB :: Flag
- pattern SC :: Flag
- pattern SD :: Flag
- pattern SE :: Flag
- pattern SG :: Flag
- pattern SH :: Flag
- pattern SI :: Flag
- pattern SJ :: Flag
- pattern SK :: Flag
- pattern SL :: Flag
- pattern SM :: Flag
- pattern SN :: Flag
- pattern SO :: Flag
- pattern SR :: Flag
- pattern SS :: Flag
- pattern ST :: Flag
- pattern SV :: Flag
- pattern SX :: Flag
- pattern SY :: Flag
- pattern SZ :: Flag
- pattern TA :: Flag
- pattern TC :: Flag
- pattern TD :: Flag
- pattern TF :: Flag
- pattern TG :: Flag
- pattern TH :: Flag
- pattern TJ :: Flag
- pattern TK :: Flag
- pattern TL :: Flag
- pattern TM :: Flag
- pattern TN :: Flag
- pattern TO :: Flag
- pattern TR :: Flag
- pattern TT :: Flag
- pattern TV :: Flag
- pattern TW :: Flag
- pattern TZ :: Flag
- pattern UA :: Flag
- pattern UG :: Flag
- pattern UM :: Flag
- pattern UN :: Flag
- pattern US :: Flag
- pattern UY :: Flag
- pattern UZ :: Flag
- pattern VA :: Flag
- pattern VC :: Flag
- pattern VE :: Flag
- pattern VG :: Flag
- pattern VI :: Flag
- pattern VN :: Flag
- pattern VU :: Flag
- pattern WF :: Flag
- pattern WS :: Flag
- pattern XK :: Flag
- pattern YE :: Flag
- pattern YT :: Flag
- pattern ZA :: Flag
- pattern ZM :: Flag
- pattern ZW :: Flag
- pattern ENG :: SubFlag
- pattern SCT :: SubFlag
- pattern WLS :: SubFlag
- pattern Ram :: Zodiac
- pattern Bull :: Zodiac
- pattern Twins :: Zodiac
- pattern Crab :: Zodiac
- pattern Lion :: Zodiac
- pattern Maiden :: Zodiac
- pattern Scales :: Zodiac
- pattern Scorpius :: Zodiac
- pattern Scorpion :: Zodiac
- pattern Centaur :: Zodiac
- pattern Archer :: Zodiac
- pattern Capricornus :: Zodiac
- pattern MountainGoat :: Zodiac
- pattern GoatHorned :: Zodiac
- pattern SeaGoat :: Zodiac
- pattern WaterBearer :: Zodiac
- pattern Fish :: Zodiac
- pattern FitzPatrickI :: SkinColorModifier
- pattern FitzPatrickII :: SkinColorModifier
- pattern FitzPatrickIII :: SkinColorModifier
- pattern FitzPatrickIV :: SkinColorModifier
- pattern FitzPatrickV :: SkinColorModifier
- pattern FitzPatrickVI :: SkinColorModifier
Emoji suffix
pattern EmojiSuffix :: Char Source #
A Char
acter that is often used as a suffix to turn a character into an
emoji.
Flag emoji
A data type that stores a (country) flag by the two characters of the ISO 3166 Alpa-2 standard. The data constructor is hidden to prevent making flags with a combination of characters that is invalid. Besides the countries defined in the ISO-3166 Alpha-2 standard, only the Antarctica (AQ), the European Union (EU) and the United Nations (UN) have a flag. Deprecated territories like the Soviet Union (SU) and Yugoslavia (YU) have no corresponding flag.
Instances
Bounded Flag Source # | |
Enum Flag Source # | |
Eq Flag Source # | |
Data Flag Source # | |
Defined in Data.Char.Emoji gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Flag -> c Flag # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Flag # dataTypeOf :: Flag -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Flag) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Flag) # gmapT :: (forall b. Data b => b -> b) -> Flag -> Flag # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Flag -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Flag -> r # gmapQ :: (forall d. Data d => d -> u) -> Flag -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Flag -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Flag -> m Flag # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Flag -> m Flag # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Flag -> m Flag # | |
Ord Flag Source # | |
Read Flag Source # | |
Show Flag Source # | |
Generic Flag Source # | |
Arbitrary Flag Source # | |
NFData Flag Source # | |
Defined in Data.Char.Emoji | |
Hashable Flag Source # | |
Defined in Data.Char.Emoji | |
UnicodeText Flag Source # | |
Defined in Data.Char.Emoji | |
type Rep Flag Source # | |
Defined in Data.Char.Emoji type Rep Flag = D1 ('MetaData "Flag" "Data.Char.Emoji" "unicode-tricks-0.11.0.0-C7NrNgm5l6sAip6k96QRri" 'False) (C1 ('MetaCons "Flag" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Char))) |
:: Char | The first character of the ISO 3166 Alpha-2 standard. |
-> Char | The second character of the ISO 3166 Alpha-2 standard. |
-> Maybe Flag | A |
Convert the given two characters that represent a flag according to the ISO
3166 Alpha-2 standard to a Flag
wrapped in a Just
data constructor, if
that flag exists; Nothing
otherwise.
One can pass characters in upper case (A-Z
) and lower case (a-z
). The
flag will hold the upper case variant.
The Emoji have flags for the countries defined by the ISO 3166 Alpha-2
standard without deprecated regions like the Soviet Union (SU) and Yugoslavia
(YU). Furthermore there are Emoji for the flags of Antarctica (AQ), the
European Union (EU) and the United Nations (UN).
:: Char | The first character of the ISO 3166 Alpha-2 standard. |
-> Char | The second character of the ISO 3166 Alpha-2 standard. |
-> Flag | The equivalent |
Convert the given two characters that represent a flag according to the ISO
3166 Alpha-2 standard to a Flag
. If the flag does not exists, then the
result is unspecified.
One can pass characters in upper case (A-Z
) and lower case (a-z
). The
flag will hold the upper case variant.
The Emoji have flags for the countries defined by the ISO 3166 Alpha-2
standard without deprecated regions like the Soviet Union (SU) and Yugoslavia
(YU). Furthermore there are Emoji for the flags of Antarctica (AQ), the
European Union (EU) and the United Nations (UN).
Obtain the two-characters that specify the given Flag
. These two
characters are always upper case (A-Z
).
:: Char | The first |
-> Char | The second |
-> Maybe Text | A |
Convert the given two Char
acters of the ISO3166-1 Alpha-2 standard to an
Emoji that renders the flag of the corresponding country or terroitory
wrapped in a Just
data constructor. Deprecated regions, such as SU
(Soviet Union) and YU (Yugoslavia) have no flag. The European Union (EU),
Antarctica (AQ) and United Nations (UN) are included as marcoregion flags.
If the flag does not exists, Nothing
is returned.
:: Char | The first |
-> Char | The second |
-> Text | A |
Convert the given two Char
acters of the ISO3166-1 Alpha-2 standard to an
Emoji that renders the flag of the corresponding country or terroitory.
Deprecated regions, such as SU (Soviet Union) and YU (Yugoslavia) have no
flag. The European Union (EU), Antarctica (AQ) and United Nations (UN)
are included as marcoregion flags. This function does not check if the
two characters map to a valid flag token.
:: Char | The first |
-> Char | The second |
-> Bool |
|
Check if for the given two Char
acters, a flag emoji exists. The two
character combinations for which a flag exist are defined in the ISO3166-1
Alpha-2 standard where deprecated reagions, such as SU and YU have no flag,
and the European Union (EU), Antarctica (AQ), and the United Nations (UN)
have a flag. The characters can be upper case (A-Z
) or lower case (a-z
).
Subregional flag emoji
A data type to store a subregion flag. This is specified by the parent flag, and three characters of the subregion. At the moment, the only three subregional flags are England (eng), Scotland (sct) and Wales (wls), all beloning under the United Kingdom flag (GB). The data constructor is made private to prevent making non-existing subflags.
Instances
Clock emoji
A Clock
object that can be converted to a unicode character that displays
a clock with the given time. The Clock
has an hours
field that contains
the given hours between 0 and 12, and a minutes30
field that if True
,
means that the clock is half past that hour.
Instances
Bounded Clock Source # | |
Enum Clock Source # | |
Eq Clock Source # | |
Data Clock Source # | |
Defined in Data.Char.Emoji gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Clock -> c Clock # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Clock # dataTypeOf :: Clock -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Clock) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Clock) # gmapT :: (forall b. Data b => b -> b) -> Clock -> Clock # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Clock -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Clock -> r # gmapQ :: (forall d. Data d => d -> u) -> Clock -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Clock -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Clock -> m Clock # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Clock -> m Clock # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Clock -> m Clock # | |
Ord Clock Source # | |
Read Clock Source # | |
Show Clock Source # | |
Generic Clock Source # | |
Arbitrary Clock Source # | |
NFData Clock Source # | |
Defined in Data.Char.Emoji | |
Hashable Clock Source # | |
Defined in Data.Char.Emoji | |
UnicodeText Clock Source # | |
Defined in Data.Char.Emoji | |
UnicodeCharacter Clock Source # | |
Defined in Data.Char.Emoji | |
type Rep Clock Source # | |
Defined in Data.Char.Emoji type Rep Clock = D1 ('MetaData "Clock" "Data.Char.Emoji" "unicode-tricks-0.11.0.0-C7NrNgm5l6sAip6k96QRri" 'False) (C1 ('MetaCons "Clock" 'PrefixI 'True) (S1 ('MetaSel ('Just "hours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "minutes30") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) |
:: Int | The number of hours. |
-> Int | The number of minutes, must be between 0 and 60. |
-> Clock | The clock object that is the closest to the given hours and minutes. |
Generate the Clock
object that is the closest to the given hours and
minutes.
Blood type emoji
A BloodType
object used to convert to its unicode equivalent. The
BloodType
is also seen as a 2-bit value with the leftmost bit representing
the presence of A antigens and the rightmost the presence of B antigens.
O | The O blood type, with no presence of A and B antigens. |
B | The B blood type, with presence of the B antigen. |
A | The A blood type, with presence of the A antigen. |
AB | The AB blood type, with presence of the A and B antigens. |
Instances
Moon phase emoji
A data type that defines the eight different moon phases, and is an
instance of UnicodeCharacter
to convert these to the corresponding Unicode
character.
NewMoon | The new moon, the first phase of the moon represented by 🌑. |
WaxingCrescent | The waxing crescent, the second phase of the moon represented by 🌒. |
FirstQuarter | The first quarter, the third phase of the moon represented by 🌓. |
WaxingGibbous | The waxing gibbous, the fourth phase of the moon represented by 🌔. |
FullMoon | The full moon, the fifth phase of the moon represented by 🌕. |
WaningGibbous | The waning gibbous, the sixth phase of the moon represented by 🌖. |
ThirdQuarter | The third quarter, the seventh phase of the moon represented by 🌗. |
WaningCrescent | The waning crescent, the eighth phase of the moon represented by 🌘. |
Instances
Gender sign emoji
A data type to specify the gender of a person, animal, etc. used in an
emoji. The Gender
items are an instance of UnicodeText
that maps to the
female and male emoji.
Instances
Bounded Gender Source # | |
Enum Gender Source # | |
Defined in Data.Char.Emoji | |
Eq Gender Source # | |
Data Gender Source # | |
Defined in Data.Char.Emoji gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Gender -> c Gender # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Gender # toConstr :: Gender -> Constr # dataTypeOf :: Gender -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Gender) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Gender) # gmapT :: (forall b. Data b => b -> b) -> Gender -> Gender # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Gender -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Gender -> r # gmapQ :: (forall d. Data d => d -> u) -> Gender -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Gender -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Gender -> m Gender # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Gender -> m Gender # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Gender -> m Gender # | |
Ord Gender Source # | |
Read Gender Source # | |
Show Gender Source # | |
Generic Gender Source # | |
Arbitrary Gender Source # | |
NFData Gender Source # | |
Defined in Data.Char.Emoji | |
Hashable Gender Source # | |
Defined in Data.Char.Emoji | |
UnicodeText Gender Source # | |
Defined in Data.Char.Emoji | |
type Rep Gender Source # | |
Zodiac emoji
A data type to deal with the zodiac sign emoji. The data type lists the
different zodiac signs as data constructors, and the instance of the
UnicodeCharacter
allows to convert it from and to a Char
acter.
Aries | The aries zodiac sign, ram in English, is denoted as ♈. |
Taurus | The taurus zodiac sign, bull in English, is denoted as ♉. |
Gemini | The gemini zodiac sign, twins in English, is denoted as ♊. |
Cancer | The cancer zodiac sign, crab in English, is denoted as ♋. |
Leo | The leo zodiac sign, lion in English, is denoted as ♌. |
Virgo | The virgo zodiac sign, maiden in English, is denoted as ♍. |
Libra | The libra zodiac sign, scales in English, is denoted as ♎. |
Scorpio | The scorpio zodiac sign, scorpion in English, is denoted as ♏. |
Sagittarius | The saggitarius zodiac sign, archer in English, is denoted as ♐. |
Capricorn | The capricorn zodiac sign, sea-goat in English, is denoted as ♑. |
Aquarius | The aquarius zodiac sign, water-bearer in English, is denoted as ♒. |
Pisces | The pices zodiac sign, fish in English, is denoted as ♓. |
Instances
Bounded Zodiac Source # | |
Enum Zodiac Source # | |
Defined in Data.Char.Emoji | |
Eq Zodiac Source # | |
Data Zodiac Source # | |
Defined in Data.Char.Emoji gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Zodiac -> c Zodiac # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Zodiac # toConstr :: Zodiac -> Constr # dataTypeOf :: Zodiac -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Zodiac) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Zodiac) # gmapT :: (forall b. Data b => b -> b) -> Zodiac -> Zodiac # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Zodiac -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Zodiac -> r # gmapQ :: (forall d. Data d => d -> u) -> Zodiac -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Zodiac -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Zodiac -> m Zodiac # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Zodiac -> m Zodiac # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Zodiac -> m Zodiac # | |
Ord Zodiac Source # | |
Read Zodiac Source # | |
Show Zodiac Source # | |
Generic Zodiac Source # | |
Arbitrary Zodiac Source # | |
NFData Zodiac Source # | |
Defined in Data.Char.Emoji | |
Hashable Zodiac Source # | |
Defined in Data.Char.Emoji | |
UnicodeText Zodiac Source # | |
Defined in Data.Char.Emoji | |
UnicodeCharacter Zodiac Source # | |
Defined in Data.Char.Emoji | |
type Rep Zodiac Source # | |
Defined in Data.Char.Emoji type Rep Zodiac = D1 ('MetaData "Zodiac" "Data.Char.Emoji" "unicode-tricks-0.11.0.0-C7NrNgm5l6sAip6k96QRri" 'False) (((C1 ('MetaCons "Aries" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Taurus" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Gemini" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Cancer" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Leo" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Virgo" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Libra" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Scorpio" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Sagittarius" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Capricorn" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Aquarius" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Pisces" 'PrefixI 'False) (U1 :: Type -> Type))))) |
Skin color modifier
data SkinColorModifier Source #
Some emoji deal with people. One can change the color of the skin with the
SkinColorModifier
. For the skin color, the /Fitzpatrick scale/ is used.
A numerical classification system for skin types.
Light | An emoji modifier that applies Fitzpatrick skin type one or two to the Emoji. |
MediumLight | An emoji modifier that applies Fitzpatrick skin type three to the Emoji. |
Medium | An emoji modifier that applies Fitzpatrick skin type four to the Emoji. |
MediumDark | An emoji modifier that applies Fitzpatrick skin type five to the Emoji. |
Dark | An emoji modifier that applies Fitzpatrick skin type six to the Emoji. |
Instances
:: Integral i | |
=> i | The given Fitzpatrick skin type. |
-> Maybe SkinColorModifier | The corresponding |
Convert the given Fitzpatrick skin type to the corresponding
SkinColorModifier
wrapped in a Just
, if no such SkinColorModifier
exists, Nothing
is returned.
Pattern symbols for Flag
s
The Flag
pattern used for the South Georgia & South Sandwich Islands denoted with GS.
The Flag
pattern used for British Indian Ocean Territory denoted with IO.
The Flag
pattern used for the French Southern Territories denoted with TF.
Pattern synonyms for SubFlag
s
Pattern synonyms for Zodiac
elements
pattern Centaur :: Zodiac Source #
An English name for the Sagittarius
zodiac sign.
pattern Archer :: Zodiac Source #
An English name for the Sagittarius
zodiac sign.
pattern Capricornus :: Zodiac Source #
The name of the constellation of the Capricorn
zodiac sign.
pattern MountainGoat :: Zodiac Source #
An English name for the Capricorn
zodiac sign.
pattern GoatHorned :: Zodiac Source #
An English name for the Capricorn
zodiac sign.
pattern WaterBearer :: Zodiac Source #
The English name for the Aquarius
zodiac sign.
Pattern synonyms for the SkinColorModifier
elements
pattern FitzPatrickI :: SkinColorModifier Source #
The SkinColorModifier
that corresponds to type one of the /Fitzpatrick
scale/.
pattern FitzPatrickII :: SkinColorModifier Source #
The SkinColorModifier
that corresponds to type two of the /Fitzpatrick
scale/.
pattern FitzPatrickIII :: SkinColorModifier Source #
The SkinColorModifier
that corresponds to type three of the /Fitzpatrick
scale/.
pattern FitzPatrickIV :: SkinColorModifier Source #
The SkinColorModifier
that corresponds to type four of the /Fitzpatrick
scale/.
pattern FitzPatrickV :: SkinColorModifier Source #
The SkinColorModifier
that corresponds to type five of the /Fitzpatrick
scale/.
pattern FitzPatrickVI :: SkinColorModifier Source #
The SkinColorModifier
that corresponds to type six of the /Fitzpatrick
scale/.