Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "nanp"

Title:phone numbers in the North American Numbering Plan
Rating:Not rated. Create the first rating!
Latest version:0.1.0
SHA1 sum:4624aaf9b46b95e2e909c0454fb57e5803718d26
Author:Michael Hendricks <michael@ndrix.org>
Maintainer:Michael Hendricks <michael@ndrix.org>
Packager:Michael Hendricks <michael@ndrix.org>
Home page:https://github.com/mndrix/nanp
Download URL:https://github.com/mndrix/nanp/archive/v0.1.0.zip

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.1.03c6f61ad75d752aca797d7c024ad8c0b08aca6521https://github.com/mndrix/nanp/archive/v0.1.0.zip
4624aaf9b46b95e2e909c0454fb57e5803718d2614https://github.com/mndrix/nanp/archive/v0.1.0.zip

Synopsis

:- use_module(library(nanp), []).

?- nanp:format(e_164,nanp(760,666,8462),String).
String = "+17606668462".

?- nanp:format(traditional,Num,`(760) 666-8462`).
Num = nanp(760, 666, 8462).

Description

A library for working with telephone numbers assigned under the North American Numbering Plan. This includes telephone numbers from many countries in North America and the Caribbean.

Installation

Using SWI-Prolog 7.1 or later:

?- pack_install(nanp).

This module uses semantic versioning.

Source code available and pull requests accepted at http://github.com/mndrix/nanp

Contents of pack "nanp"

Pack contains 7 files holding a total of 6.5K bytes.