dormouse-uri-0.2.0.0: Library for type-safe representations of Uri/Urls
Safe HaskellSafe-Inferred
LanguageHaskell2010

Dormouse.Uri.RFC3986

Synopsis

Documentation

isGenDelim :: Char -> Bool Source #

Checks whether a char belongs to the gen-delims in RFC3986

isSubDelim :: Char -> Bool Source #

Checks whether a char belongs to the sub-delims in RFC3986

isReserved :: Char -> Bool Source #

Checks whether a char belongs to the sub-delims in RFC3986

isAsciiAlpha :: Char -> Bool Source #

Checks whether a char is ascii & alpha

isAsciiAlphaNumeric :: Char -> Bool Source #

Checks whether a char is ascii & alphanumeric

isUnreserved :: Char -> Bool Source #

Checks whether a char belongs to the unreserved group in RFC3986

isSchemeChar :: Char -> Bool Source #

Checks whether a char is a valid scheme char in RFC3986

isUserInfoChar :: Char -> Bool Source #

Checks whether a char is a valid user info char in RFC3986

isRegNameChar :: Char -> Bool Source #

Checks whether a char is a valid reg-name char in RFC3986

isPathChar :: Char -> Bool Source #

Checks whether a char is a valid path char in RFC3986

isPathCharNoColon :: Char -> Bool Source #

Checks whether a char is a valid path char (excluding colons) in RFC3986

isQueryChar :: Char -> Bool Source #

Checks whether a char is a valid query char in RFC3986

isFragmentChar :: Char -> Bool Source #

Checks whether a char is a valid fragment char in RFC3986