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 :: Monad m => NormalizationMode -> Stream m Char -> Stream 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 Source # pred :: NormalizationMode -> NormalizationMode Source # toEnum :: Int -> NormalizationMode Source # fromEnum :: NormalizationMode -> Int Source # enumFrom :: NormalizationMode -> [NormalizationMode] Source # enumFromThen :: NormalizationMode -> NormalizationMode -> [NormalizationMode] Source # enumFromTo :: NormalizationMode -> NormalizationMode -> [NormalizationMode] Source # enumFromThenTo :: NormalizationMode -> NormalizationMode -> NormalizationMode -> [NormalizationMode] Source # | |
Show NormalizationMode Source # | |
Defined in Streamly.Internal.Unicode.Char | |
Eq NormalizationMode Source # | |
Defined in Streamly.Internal.Unicode.Char (==) :: NormalizationMode -> NormalizationMode -> Bool Source # (/=) :: NormalizationMode -> NormalizationMode -> Bool Source # |