A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://agda.github.io/agda-stdlib/master/Data.These.Instances.html below:

Data.These.Instances

Data.These.Instances
------------------------------------------------------------------------
-- The Agda standard library
--
-- Typeclass instances for These
------------------------------------------------------------------------

{-# OPTIONS --cubical-compatible --safe #-}

module Data.These.Instances where

open import Data.These.Base using (These; this; that; these)
open import Data.These.Properties using (≡-dec)
open import Level using (Level)
open import Relation.Binary.PropositionalEquality.Core using (_≡_)
open import Relation.Binary.PropositionalEquality.Properties
  using (isDecEquivalence)
open import Relation.Binary.TypeClasses using (IsDecEquivalence; _≟_)

private
  variable
    a b : Level
    A : Set a
    B : Set b

instance
  These-≡-isDecEquivalence : {{IsDecEquivalence {A = A} _≡_}}  {{IsDecEquivalence {A = B} _≡_}}  IsDecEquivalence {A = These A B} _≡_
  These-≡-isDecEquivalence = isDecEquivalence (≡-dec _≟_ _≟_)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4