flatparse-0.4.0.0: High-performance parsing from strict bytestrings
Safe HaskellSafe-Inferred
LanguageHaskell2010

FlatParse.Common.Strings

Synopsis

Documentation

isDigit :: Char -> Bool Source #

isDigit c = '0' <= c && c <= '9' TODO exists in Data.Char, but maybe loses inlining

isAsciiLetter :: Char -> Bool Source #

isAsciiLetter c = ('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z') TODO exists in Data.Char, but maybe loses inlining

isGreekLetter :: Char -> Bool Source #

isGreekLetter c = ('Α' <= c && c <= 'Ω') || ('α' <= c && c <= 'ω')

splitBytes :: [Word] -> ([Word], [Word]) Source #

These functions should be no-ops. They correspond to the similarly-named GHC 9.4 primops which work on unboxed integers.