12345678910111213141516171819202122{-# OPTIONS --without-K #-}module Class.DecEq.Core where open import Class.Preludeopen import Class.Core record DecEq (A : Type ℓ) : Type ℓ where field _≟_ : DecidableEquality A _==_ _≡ᵇ_ : A → A → Bool x == y = ⌊ x ≟ y ⌋ _≡ᵇ_ = _==_ _≠_ : A → A → Bool x ≠ y = not (x == y) infix 4 _≟_ _≡ᵇ_ _==_ _≠_open DecEq ⦃...⦄ public DecEq¹ = DecEq ¹DecEq² = DecEq ²DecEq³ = DecEq ³