Idris-dev/test/reg010/reg010.idr
2013-07-26 21:05:47 +02:00

6 lines
149 B
Idris

module usubst
total unsafeSubst : (P : a -> Type) -> (x : a) -> (y : a) -> P x -> P y
unsafeSubst P x y px with (Z)
unsafeSubst P x x px | _ = px