An E.164 analyzer and validator written in Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Telephony/PSTN
test
.gitignore
LICENSE
README.md
Setup.hs
hs-e164.cabal
stack.yaml

README.md

Telephony.PSTN.E164

An E.164 analyzer and validator written in Haskell

Written in Haskell MIT Licensed Version 0.1.1

An E.164 analyzer and validator written in Haskell. This package allows you to parse a phone number string and get back an E164Number which can be used with functions such as country, prefix, and number.

If the parser returns Nothing, the given string isn't a valid E.164 number.

Note: This package is currently version 0.x. Until then, no stability guarantees are made, and the quality of the parser may be very low. Before 1.0, you should expect countries to be missing, documentation to be lacking, and bugs to be present.