git.iko.soy/typeable/libphonenumber
on main help sign in
Fix docs
commit9a21447ae0cfb92f8ad6389310d289db2c8710b2 authormniip <mniip@mniip.com> dateTue 21 Mar 2023, 10:32 (4 years ago) parentd4dec19
2 files changed+6−1
libphonenumber.cabal+5 src/Data/PhoneNumber/Util.hs+1−1
libphonenumber.cabal+5
@@ -19,6 +19,11 @@ description:
1919 else has installed a global logger which could observe
2020 side-effects from library calls.
2121
22+ The underlying library internally uses UTF-8 encoded byte
23+ strings. To avoid decoding overhead where it is unnecessary,
24+ and to avoid a dependency on @text@, we use 'ByteString'
25+ throughout the library instead of 'Data.Text.Text'.
26+
2227build-type: Simple
2328
2429extra-source-files:
src/Data/PhoneNumber/Util.hs+1−1
@@ -445,7 +445,7 @@ data ParseMode
445445-- 'isValidNumber'.
446446--
447447-- Returns an error if the string is not considered to be a viable phone number
448−-- (e.g. too few or too many digits) or if 'noRegion' was supplied and the
448+-- (e.g. too few or too many digits) or if no 'Region' was supplied and the
449449-- number is not in international format (does not start with @\'+\'@).
450450parseNumber
451451 :: ParseMode