| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.PhoneNumber
Types
data PhoneNumber Source
A data type representation of a phone number, you can build one of these with copyPhoneNumberRef.
Constructors
| PhoneNumber | |
Fields | |
Instances
data PhoneNumberParseError Source
There was a problem parting your phone number. For now, if you want to know what the Int here means, you'll need to look at the ErrorType enum in the underlying library.
Constructors
| PhoneNumberParseError Int |
Parsing
parsePhoneNumber :: ByteString -> ByteString -> Either PhoneNumberParseError PhoneNumber Source
Try to parse a phone number