| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.RFC5322.Address.Types
Description
Deprecated: Use Data.IMF instead
Documentation
Email address with optional display name.
The Eq instance compares the display name case
sensitively and the address as described at AddrSpec.
Instances
| IsString Mailbox Source # | |
Defined in Data.IMF Methods fromString :: String -> Mailbox # | |
| Generic Mailbox Source # | |
| Show Mailbox Source # | |
| NFData Mailbox Source # | |
| Eq Mailbox Source # | |
| type Rep Mailbox Source # | |
Defined in Data.IMF type Rep Mailbox = D1 ('MetaData "Mailbox" "Data.IMF" "purebred-email-0.6.0.2-KNqpzoszl1mJkrfXLq3jbo" 'False) (C1 ('MetaCons "Mailbox" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AddrSpec))) | |
Instances
| Generic Address Source # | |
| Show Address Source # | |
| NFData Address Source # | |
| Eq Address Source # | |
| type Rep Address Source # | |
Defined in Data.IMF type Rep Address = D1 ('MetaData "Address" "Data.IMF" "purebred-email-0.6.0.2-KNqpzoszl1mJkrfXLq3jbo" 'False) (C1 ('MetaCons "Single" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Mailbox)) :+: C1 ('MetaCons "Group" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Mailbox]))) | |
Email address. The Eq instances compares the local part
case sensitively, and the domain part as described at Domain.
Address "detail" (section of local part after a character;
also called "extension" or "subaddress") is part of the local
part. Therefore addresses that differ in this aspect, for
example +alice+bank@example.com and alice+spam@example.com,
are unequal.
Constructors
| AddrSpec ByteString Domain |
Instances
| Generic AddrSpec Source # | |
| Show AddrSpec Source # | |
| NFData AddrSpec Source # | |
| Eq AddrSpec Source # | |
| type Rep AddrSpec Source # | |
Defined in Data.IMF type Rep AddrSpec = D1 ('MetaData "AddrSpec" "Data.IMF" "purebred-email-0.6.0.2-KNqpzoszl1mJkrfXLq3jbo" 'False) (C1 ('MetaCons "AddrSpec" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Domain))) | |
A DNS name or "domain literal" (address literal). DNS names are compared case-insensitively.
Constructors
| DomainDotAtom (NonEmpty (CI ByteString)) | |
| DomainLiteral ByteString |
Instances
| Generic Domain Source # | |
| Show Domain Source # | |
| NFData Domain Source # | |
| Eq Domain Source # | |
| type Rep Domain Source # | |
Defined in Data.IMF type Rep Domain = D1 ('MetaData "Domain" "Data.IMF" "purebred-email-0.6.0.2-KNqpzoszl1mJkrfXLq3jbo" 'False) (C1 ('MetaCons "DomainDotAtom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty (CI ByteString)))) :+: C1 ('MetaCons "DomainLiteral" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString))) | |