emailaddress

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

https://github.com/cdepillabout/emailaddress#readme

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

See all snapshots emailaddress appears in

BSD-3-Clause licensed by Dennis Gosnell
Maintained by [email protected]
This version can be pinned in stack with:emailaddress-0.1.6.0@sha256:062dec4c66cca3e70370dc3d9ec7f998d406a4931aa5e65c36b57ad5c8d732b5,1724

Module documentation for 0.1.6.0

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.