Copyright | (c) 2018 Composewell Technologies |
---|---|
License | BSD-3-Clause |
Maintainer | streamly@composewell.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- isAsciiAlpha :: Char -> Bool
- data NormalizationMode
- normalize :: (IsStream t, Monad m) => NormalizationMode -> t m Char -> t m Char
Predicates
isAsciiAlpha :: Char -> Bool Source #
Select alphabetic characters in the ascii character set.
Pre-release
Unicode aware operations
Unicode normalization
data NormalizationMode Source #
NFD | Canonical decomposition. |
NFKD | Compatibility decomposition. |
NFC | Canonical decomposition followed by canonical composition. |
NFKC | Compatibility decomposition followed by canonical composition. |
Instances
Enum NormalizationMode Source # | |
Defined in Streamly.Internal.Unicode.Char succ :: NormalizationMode -> NormalizationMode # pred :: NormalizationMode -> NormalizationMode # toEnum :: Int -> NormalizationMode # fromEnum :: NormalizationMode -> Int # enumFrom :: NormalizationMode -> [NormalizationMode] # enumFromThen :: NormalizationMode -> NormalizationMode -> [NormalizationMode] # enumFromTo :: NormalizationMode -> NormalizationMode -> [NormalizationMode] # enumFromThenTo :: NormalizationMode -> NormalizationMode -> NormalizationMode -> [NormalizationMode] # | |
Show NormalizationMode Source # | |
Defined in Streamly.Internal.Unicode.Char showsPrec :: Int -> NormalizationMode -> ShowS # show :: NormalizationMode -> String # showList :: [NormalizationMode] -> ShowS # | |
Eq NormalizationMode Source # | |
Defined in Streamly.Internal.Unicode.Char (==) :: NormalizationMode -> NormalizationMode -> Bool # (/=) :: NormalizationMode -> NormalizationMode -> Bool # |