module Data.Char.Base where
open import Data.Nat.Base using (ℕ)
open import Data.Bool.Base using (Bool)
open import Data.String.Base using (String)
open import Data.Char.Core using (Char) public
open import Agda.Builtin.Char
open import Agda.Builtin.String using (primShowChar)
show : Char → String
show = primShowChar
isLower : Char → Bool
isLower = primIsLower
isDigit : Char → Bool
isDigit = primIsDigit
isAlpha : Char → Bool
isAlpha = primIsAlpha
isSpace : Char → Bool
isSpace = primIsSpace
isAscii : Char → Bool
isAscii = primIsAscii
isLatin1 : Char → Bool
isLatin1 = primIsLatin1
isPrint : Char → Bool
isPrint = primIsPrint
isHexDigit : Char → Bool
isHexDigit = primIsHexDigit
toNat : Char → ℕ
toNat = primCharToNat
fromNat : ℕ → Char
fromNat = primNatToChar