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

Copyright | (c) 2021 Composewell Technologies and Contributors
License | Apache-2.0
Maintainer | streamly@composewell.com
Stability | experimental
Safe Haskell | Safe-Inferred
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 #

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

Since: 0.2.0

isIDStart :: Char -> Bool #

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

Since: 0.2.0

isXIDContinue :: Char -> Bool #

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 #

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 #

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

Since: 0.2.0

isPatternWhitespace :: Char -> Bool #

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

Since: 0.2.0