duckling-0.2.0.0: A Haskell library for parsing text into structured data.
Safe HaskellNone
LanguageHaskell2010

Duckling.CreditCardNumber.Types

Documentation

data Issuer Source #

Instances

Instances details
Eq Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Methods

(==) :: Issuer -> Issuer -> Bool #

(/=) :: Issuer -> Issuer -> Bool #

Ord Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Show Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Generic Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Associated Types

type Rep Issuer :: Type -> Type #

Methods

from :: Issuer -> Rep Issuer x #

to :: Rep Issuer x -> Issuer #

Hashable Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Methods

hashWithSalt :: Int -> Issuer -> Int #

hash :: Issuer -> Int #

ToJSON Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

NFData Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Methods

rnf :: Issuer -> () #

type Rep Issuer Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

type Rep Issuer = D1 ('MetaData "Issuer" "Duckling.CreditCardNumber.Types" "duckling-0.2.0.0-4AU1pRwMU7E8YjNdB7ILfy" 'False) ((C1 ('MetaCons "Visa" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Amex" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Discover" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Mastercard" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DinerClub" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Other" 'PrefixI 'False) (U1 :: Type -> Type))))

data CreditCardNumberData Source #

Constructors

CreditCardNumberData 

Fields

Instances

Instances details
Eq CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Ord CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Show CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Generic CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Associated Types

type Rep CreditCardNumberData :: Type -> Type #

Hashable CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

NFData CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

Methods

rnf :: CreditCardNumberData -> () #

Resolve CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

type Rep CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types

type Rep CreditCardNumberData = D1 ('MetaData "CreditCardNumberData" "Duckling.CreditCardNumber.Types" "duckling-0.2.0.0-4AU1pRwMU7E8YjNdB7ILfy" 'False) (C1 ('MetaCons "CreditCardNumberData" 'PrefixI 'True) (S1 ('MetaSel ('Just "number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "issuer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Issuer)))
type ResolvedValue CreditCardNumberData Source # 
Instance details

Defined in Duckling.CreditCardNumber.Types