unicode-data-0.6.0: Access Unicode Character Database (UCD)

Copyright | (c) 2021 Composewell Technologies and Contributors
License | Apache-2.0
Maintainer | streamly@composewell.com
Stability | experimental
Safe Haskell | None
Language | Haskell2010

Unicode.Char.Identifiers

Description

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

Synopsis

- isIDContinue :: Char -> Bool
- isIDStart :: Char -> Bool
- isXIDContinue :: Char -> Bool
- isXIDStart :: Char -> Bool
- isPatternSyntax :: Char -> Bool
- isPatternWhitespace :: Char -> Bool

# Documentation

isIDContinue :: Char -> Bool Source #

Returns `True` if a character is an identifier continue character.

Since: 0.2.0

isIDStart :: Char -> Bool Source #

Returns `True` if a character is an identifier start character.

Since: 0.2.0

isXIDContinue :: Char -> Bool Source #

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

Since: 0.2.0

isXIDStart :: Char -> Bool Source #

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

Since: 0.2.0

isPatternSyntax :: Char -> Bool Source #

Returns `True` if a character is a pattern syntax character.

Since: 0.2.0

isPatternWhitespace :: Char -> Bool Source #

Returns `True` if a character is a pattern whitespace character.

Since: 0.2.0