Popularity
5.9
Declining
Activity
0.3
Growing
6
2
6

Monthly Downloads: 28
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Data     Comonads     Phone    
Latest version: v0.2.0

phone-numbers alternatives and similar packages

Based on the "data" category.
Alternatively, view phone-numbers alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of phone-numbers or a related project?

Add another 'data' Package

README

phone-numbers - Parse phone numbers with Google's libphonenumber

Travis Status

--
-- Copyright © 2016 Christian Marie <[email protected]>
--
-- The code in this file, and the program it is a part of, is
-- made available to you by its authors as open source software:
-- you can redistribute it and/or modify it under the terms of
-- the 3-clause BSD licence.
--

{-# LANGUAGE OverloadedStrings #-}

import Data.PhoneNumber
import Control.Monad
import Data.Monoid
import qualified Data.ByteString.Char8 as S

main :: IO ()
main = forever $ do
    l <- S.getLine

    S.putStrLn "Number:"
    print $ parsePhoneNumber l "AU"
    print (refType <$> parsePhoneNumberRef l "AU")
    S.putStrLn $ "Characters keypad normalised: " <> convertAlphaCharacters l