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

Version on this page:
LTS Haskell 11.22:
Stackage Nightly 2018-03-12:
Latest on Hackage:

See all snapshots emailaddress appears in

BSD-3-Clause licensed by Dennis Gosnell
This version can be pinned in stack with:emailaddress-,1724

Module documentation for


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.