unicode-tricks-0.14.1.0: Functions to work with unicode blocks more convenient.
Maintainerhapytexeu+gh@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe
LanguageHaskell2010

Data.Char.Emoji.Gender

Description

Unicode has two emoji to express male and/or female. These emoji are also used as modifiers for other emoji.

Synopsis

Gender sign emoji

data BinaryGender Source #

A data type to specify the gender of a person, animal, etc. used in an emoji. The BinaryGender items are an instance of UnicodeText that maps to the female and male emoji. Often the corresponding codepoints are used to annotate something as male/female.

Constructors

Female 
Male 

Instances

Instances details
Arbitrary BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Data BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BinaryGender -> c BinaryGender #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BinaryGender #

toConstr :: BinaryGender -> Constr #

dataTypeOf :: BinaryGender -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BinaryGender) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BinaryGender) #

gmapT :: (forall b. Data b => b -> b) -> BinaryGender -> BinaryGender #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BinaryGender -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BinaryGender -> r #

gmapQ :: (forall d. Data d => d -> u) -> BinaryGender -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BinaryGender -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BinaryGender -> m BinaryGender #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BinaryGender -> m BinaryGender #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BinaryGender -> m BinaryGender #

Bounded BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Enum BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Generic BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Associated Types

type Rep BinaryGender :: Type -> Type #

Read BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Show BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

NFData BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Methods

rnf :: BinaryGender -> () #

Eq BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Ord BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Hashable BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

UnicodeText BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

type Rep BinaryGender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

type Rep BinaryGender = D1 ('MetaData "BinaryGender" "Data.Char.Emoji.Gender" "unicode-tricks-0.14.1.0-EInLeozqGjBL3vIQTNPsAm" 'False) (C1 ('MetaCons "Female" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Male" 'PrefixI 'False) (U1 :: Type -> Type))

data Trigender Source #

A data type that, besides Male and Female can also represent a Transgender.

Constructors

Binary BinaryGender

Specify a binary gender which is female or male.

Transgender

A value that specifies a transgender, this is denoted with ⚧️.

Instances

Instances details
Arbitrary Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Data Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Trigender -> c Trigender #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Trigender #

toConstr :: Trigender -> Constr #

dataTypeOf :: Trigender -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Trigender) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Trigender) #

gmapT :: (forall b. Data b => b -> b) -> Trigender -> Trigender #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Trigender -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Trigender -> r #

gmapQ :: (forall d. Data d => d -> u) -> Trigender -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Trigender -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Trigender -> m Trigender #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Trigender -> m Trigender #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Trigender -> m Trigender #

Bounded Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Enum Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Generic Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Associated Types

type Rep Trigender :: Type -> Type #

Read Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Show Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

NFData Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Methods

rnf :: Trigender -> () #

Eq Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Ord Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

Hashable Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

UnicodeText Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

type Rep Trigender Source # 
Instance details

Defined in Data.Char.Emoji.Gender

type Rep Trigender = D1 ('MetaData "Trigender" "Data.Char.Emoji.Gender" "unicode-tricks-0.14.1.0-EInLeozqGjBL3vIQTNPsAm" 'False) (C1 ('MetaCons "Binary" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BinaryGender)) :+: C1 ('MetaCons "Transgender" 'PrefixI 'False) (U1 :: Type -> Type))