@hackage emailaddress0.1.2.0

Wrapper around email-validate library adding instances for common type classes.

emailaddress

Hackage Build Status

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.Email.Validate, so 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.