packages feed

Agda-2.3.2.2: test/succeed/JMEq.agda

module JMEq where

data _==_ {A : Set}(x : A) : {B : Set}(y : B) -> Set where
  refl : x == x

subst : {A : Set}{x y : A}(P : A -> Set) -> x == y -> P x -> P y
subst {A} P refl px = px