Denotational Semantics in Agda
Data.Unit.Polymorphic.Base
Initializing search
    pdmosses/xds-agda
    • About
    • Meta-notation
    • ULC
    • PCF
    • Scheme
    pdmosses/xds-agda
    • About
    • Meta-notation
      • Untyped λ-calculus
      • ULC.All
      • ULC.Variables
      • ULC.Terms
      • ULC.Domains
      • ULC.Environments
      • ULC.Semantics
      • ULC.Checks
      • PCF (Plotkin 1977)
      • PCF.All
      • PCF.Domain Notation
      • PCF.Types
      • PCF.Constants
      • PCF.Variables
      • PCF.Terms
      • PCF.Environments
      • PCF.Checks
      • Core Scheme (R5RS)
      • Scheme.All
      • Scheme.Domain Notation
      • Scheme.Abstract Syntax
      • Scheme.Domain Equations
      • Scheme.Auxiliary Functions
      • Scheme.Semantic Functions

    Data.Unit.Polymorphic.Base

    ------------------------------------------------------------------------
    -- The Agda standard library
    --
    -- A universe polymorphic unit type, as a Lift of the Level 0 one.
    ------------------------------------------------------------------------
    
    {-# OPTIONS --cubical-compatible --safe #-}
    
    module Data.Unit.Polymorphic.Base where
    
    open import Level
    import Data.Unit.Base as ⊤
    
    ------------------------------------------------------------------------
    -- A unit type defined as a synonym
    
    ⊤ : {ℓ : Level} → Set ℓ
    ⊤ {ℓ} = Lift ℓ ⊤.⊤
    
    tt : {ℓ : Level} → ⊤ {ℓ}
    tt = lift ⊤.tt
    
    Made with Material for MkDocs