Skip to content

Commit

Permalink
GHC 9.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mniip committed Dec 20, 2023
1 parent e649bf2 commit 28e049c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
10 changes: 5 additions & 5 deletions libphonenumber.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ library
, Data.PhoneNumber.Internal.Number
, Data.PhoneNumber.Internal.Util
build-depends:
, base >= 4.12 && < 4.19
, bytestring >= 0.10.8 && < 0.12
, containers >= 0.6.0 && < 0.7
, deepseq >= 1.4.4 && < 1.5
, base >= 4.12 && < 4.20
, bytestring >= 0.10.8 && < 0.13
, containers >= 0.6.0 && < 0.8
, deepseq >= 1.4.4 && < 1.6
, transformers >= 0.5.5 && < 0.7
build-tool-depends: c2hs:c2hs
include-dirs: include
Expand Down Expand Up @@ -106,7 +106,7 @@ test-suite spec_test
, base
, bytestring
, containers
, hspec >= 2.10.8 && < 2.11
, hspec >= 2.10.8 && < 2.12
, libphonenumber
, QuickCheck >= 2.13.1 && < 2.15
main-is: Spec.hs
Expand Down
14 changes: 4 additions & 10 deletions src/Data/PhoneNumber/Number.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,10 @@ module Data.PhoneNumber.Number
) where

import Data.ByteString (ByteString)
import Data.PhoneNumber.Internal.Number hiding
( pattern PhoneNumber
, extension
, rawInput
, preferredDomesticCarrierCode
, nationalNumber
, countryCode
, italianLeadingZero
, countryCodeSource
, numberOfLeadingZeros )
import Data.PhoneNumber.Internal.Number
( CPhoneNumber(CPhoneNumber), PhoneNumber, CountryCodeSource, toCPhoneNumber
, fromCPhoneNumber
)
import qualified Data.PhoneNumber.Internal.Number as I

-- | A country calling code (International Subscriber Dialing code, ISD code),
Expand Down

0 comments on commit 28e049c

Please sign in to comment.