XDS-Agda
Char
Initializing search
    pdmosses/xds-agda@pre
    • About
    • Notation
    • Examples
    • Properties
    • Tests
    • Library
    pdmosses/xds-agda@pre
    • About
      • Background
      • Meta-notation
    • Notation
    • Examples
      • LC
        • Abstract-Syntax
        • Domain-Equations
        • Semantic-Functions
      • PCF
        • Abstract-Syntax
        • Domain-Equations
        • Semantic-Functions
      • Scm
        • Abstract-Syntax
        • Auxiliary-Functions
        • Domain-Equations
        • Semantic-Functions
    • Properties
    • Tests
      • LC
      • PCF
      • Scm
    • Library
          • Bool
          • Char
          • Equality
            • Rewrite
          • Int
          • List
          • Maybe
          • Nat
          • Sigma
          • String
          • Unit
        • Primitive
          • Raw
        • Core
          • RawMagma
          • Base
          • Base
        • Empty
          • Polymorphic
          • Base
          • Base
        • Irrelevant
          • Base
            • Base
                • Core
                • Base
          • Base
          • Base
          • Base
          • Base
          • Base
          • Base
          • Base
          • Base
          • Base
            • Base
          • Base
        • Base
        • Bundles
        • Consequences
          • Propositional
          • Setoid
        • Definitions
        • Structures
      • Level
          • Bundles
            • Raw
          • Consequences
              • Reflexive
            • Composition
              • Core
          • Core
          • Definitions
              • Core
            • Setoid
            • Core
            • Properties
            • Syntax
          • Structures
        • Nullary
          • Decidable
            • Core
          • Irrelevant
            • Core
          • Recomputable
            • Core
          • Reflects
        • Unary
          • Properties
    1. Library
    2. Agda
    3. Builtin

    Char

    {-# OPTIONS --cubical-compatible --safe --no-universe-polymorphism
                --no-sized-types --no-guardedness --level-universe #-}
    
    module Agda.Builtin.Char where
    
    open import Agda.Builtin.Nat
    open import Agda.Builtin.Bool
    
    postulate Char : Set
    {-# BUILTIN CHAR Char #-}
    
    primitive
      primIsLower primIsDigit primIsAlpha primIsSpace primIsAscii
        primIsLatin1 primIsPrint primIsHexDigit : Char → Bool
      primToUpper primToLower : Char → Char
      primCharToNat : Char → Nat
      primNatToChar : Nat → Char
      primCharEquality : Char → Char → Bool
    
    Previous
    Bool
    Next
    Equality
    Made with Material for MkDocs