unicode-data-0.2.0: Access Unicode character database
Copyright(c) 2021 Composewell Technologies and Contributors
LicenseApache-2.0
Maintainerstreamly@composewell.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Unicode.Char.Identifiers

Description

Unicode Identifier and Pattern Syntax property functions based on Unicode Standard Annex #31

Synopsis

Documentation

isIDContinue :: Char -> Bool Source #

Returns True if a character is an identifier continue character.

isIDStart :: Char -> Bool Source #

Returns True if a character is an identifier start character.

isXIDContinue :: Char -> Bool Source #

Returns True if a character is an identifier continue character, using the NFKC modifications detailed in UAX #31, 5.1.

isXIDStart :: Char -> Bool Source #

Returns True if a character is an identifier start character, using the NFKC modifications detailed in UAX #31, 5.1.

isPatternSyntax :: Char -> Bool Source #

Returns True if a character is a pattern syntax character.

isPatternWhitespace :: Char -> Bool Source #

Returns True if a character is a pattern whitespace character.