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

[ bsd3, library, text ] [ Propose Tags ]

Please see README.md


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.2.0, 0.1.3.0, 0.1.4.0, 0.1.5.0, 0.1.6.0, 0.2.0.0
Dependencies aeson (>=0.9), base (>=4.6 && <5), bifunctors (>=5), bytestring (>=0.9), email-validate (>=2), http-api-data (>=0.2), opaleye (>=0.4), path-pieces (>=0.2), persistent (>=2), postgresql-simple (>=0.5), product-profunctors (>=0.6), profunctors (>=0.5), text (>=1.2) [details]
License BSD-3-Clause
Copyright 2016 Dennis Gosnell
Author Dennis Gosnell
Maintainer cdep.illabout@gmail.com
Category Text
Home page https://github.com/cdepillabout/emailaddress#readme
Source repo head: git clone git@github.com:cdepillabout/emailaddress.git
Uploaded by cdepillabout at 2016-08-22T06:52:26Z
Distributions
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 4712 total (18 in the last 30 days)
Rating 1.75 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-08-22 [all 1 reports]

Readme for emailaddress-0.1.5.0

[back to package description]

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.