| 1 |
------------------------------------------------------------------------ |
| 2 |
-- The Agda standard library |
| 3 |
-- |
| 4 |
-- Instances for the unit type |
| 5 |
------------------------------------------------------------------------ |
| 6 |
|
| 7 |
{-# OPTIONS --cubical-compatible --safe #-} |
| 8 |
|
| 9 |
module Data.Unit.Instances where |
| 10 |
|
| 11 |
open import Data.Unit.Properties using (_≟_; ≡-isDecTotalOrder) |
| 12 |
open import Relation.Binary.PropositionalEquality.Properties |
| 13 |
using (isDecEquivalence) |
| 14 |
|
| 15 |
instance |
| 16 |
⊤-≡-isDecEquivalence = isDecEquivalence _≟_ |
| 17 |
⊤-≤-isDecTotalOrder = ≡-isDecTotalOrder |