Description
Wrapper around email-validate library adding instances for common type classes.
Description
Please see README.md
README.md
emailaddress
This Haskell module wraps around the email-validate
package, providing a newtype wrapper around the EmailAddress
type. Our EmailAddress
type has additional typeclass instances, including aeson's ToJSON and FromJSON. This allows us to use the EmailAddress
type without fear of orphan instances.
This package exposes the module Text.EmailAddress
. It can be used as a drop-in replacement for email-validate
.
If you would like to add new instances for EmailAddress
, please send a pull request. Any instace for a typeclass from a package in stackage will be accepted.