------------------------------------------------------------------------ -- The Agda standard library -- -- The type for booleans and some operations ------------------------------------------------------------------------ {-# OPTIONS --cubical-compatible --safe #-} module Data.Bool.Base where open import Data.Unit.Base using (⊤) open import Data.Empty using (⊥) open import Level using (Level) private variable a : Level A : Set a ------------------------------------------------------------------------ -- The boolean type open import Agda.Builtin.Bool public ------------------------------------------------------------------------ -- Relations infix 4 _≤_ _<_ data _≤_ : Bool → Bool → Set where f≤t : false ≤ true b≤b : ∀ {b} → b ≤ b data _<_ : Bool → Bool → Set where f