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