⚠ You are viewing the Agda library. Back to Bedrock
Bedrock
English · 中文 · 日本語
On this page
Menu
Interactive contents
  • Origin
  • Reading routes
  • Dependency graph
  • Glossary
Current route:Common foundations
  • Prelude
  • Impredicativity
  • The classical boundary
  • Choice
  • The object language
  • Structures
  • Semantics
  • The Lévy hierarchy
  • Absoluteness
  • Models of ZF and ZFC
  • Syntax as sets
{-# OPTIONS --cubical-compatible --safe --no-universe-polymorphism
            --no-sized-types --no-guardedness --level-universe #-}

module Agda.Builtin.Unit where

record ⊤ : Set where
  instance constructor tt

{-# BUILTIN UNIT ⊤ #-}
{-# COMPILE GHC ⊤ = data () (()) #-}
Powered by Outcrop
© 2026 Bedrock Institute · content licensed CC BY-NC-SA 4.0 · Source · llms.txt