@@ -9,7 +9,7 @@ using (a : Type, P : a -> Type)
99
1010 ||| Dependent pair where the first field is erased.
1111 data Exists : (P : a -> Type) -> Type where
12− evidence : .{x : a} -> (pf : P x) -> Exists P
12+ evidence : .(x : a) -> (pf : P x) -> Exists P
1313
1414 ||| Dependent pair where the second field is erased.
1515 data Subset : (a : Type) -> (P : a -> Type) -> Type where
@@ -25,8 +25,8 @@ using (a : Type, P : a -> Type)
2525 getProof : (x : T) -> P (getWitness x)
2626
2727 instance DepPair a P (Exists {a} P) where
28− getWitness (evidence {x=x} pf) = x
29− getProof (evidence {x=x} pf) = pf
28+ getWitness (evidence x pf) = x
29+ getProof (evidence x pf) = pf
3030
3131 instance DepPair a P (Subset a P) where
3232 getWitness (element x pf) = x