{-# OPTIONS --without-K --safe #-}

module Relation.Binary.PropositionalEquality.Decidable.Core where

open import Relation.Binary hiding (DecidableEquality)
open import Relation.Binary.PropositionalEquality.Core

record DecidableEquality {a} (A : Set a) : Set a where
  field decide : Decidable {A = A} _≡_
open DecidableEquality public

open import Data.Unit as U using ()
open import Data.Nat as  using ()

instance

  decide-unit : DecidableEquality 
  decide-unit .decide = U._≟_

  decide-nat : DecidableEquality 
  decide-nat .decide = ℕ._≟_