44-- | strings, these functions should be preferred over the ones in
55-- | `Data.String.CodeUnits`.
66module Data.String.CodePoints
7- ( module Data.String
7+ ( module Exports
88 , CodePoint
99 , codePointFromChar
1010 , singleton
@@ -34,9 +34,10 @@ import Data.Array as Array
3434import Data.Enum (class BoundedEnum , class Enum , Cardinality (..), defaultPred , defaultSucc , fromEnum , toEnum , toEnumWithDefaults )
3535import Data.Int (hexadecimal , toStringAs )
3636import Data.Maybe (Maybe (..))
37- import Data.String as String
37+ import Data.String.CodeUnits ( contains , stripPrefix , stripSuffix ) as Exports
3838import Data.String.CodeUnits as CU
39- import Data.String (Pattern (..), Replacement (..), contains , joinWith , localeCompare , null , replace , replaceAll , split , stripPrefix , stripSuffix , toLower , toUpper , trim )
39+ import Data.String.Common (toUpper )
40+ import Data.String.Pattern (Pattern )
4041import Data.String.Unsafe as Unsafe
4142import Data.Tuple (Tuple (..))
4243import Data.Unfoldable (unfoldr )
@@ -49,7 +50,7 @@ derive instance eqCodePoint :: Eq CodePoint
4950derive instance ordCodePoint :: Ord CodePoint
5051
5152instance showCodePoint :: Show CodePoint where
52- show (CodePoint i) = " (CodePoint 0x" <> String . toUpper (toStringAs hexadecimal i) <> " )"
53+ show (CodePoint i) = " (CodePoint 0x" <> toUpper (toStringAs hexadecimal i) <> " )"
5354
5455instance boundedCodePoint :: Bounded CodePoint where
5556 bottom = CodePoint 0
0 commit comments