Idris2/tests/idris2/error/error015/Issue110.idr
2023-09-07 14:57:22 +01:00

11 lines
152 B
Idris

%logging "declare.def.lhs" 10
data Tup : (a,b : Type) -> Type where
MkTup : (1 f : a) -> (1 s : b) -> Tup a b
f : Tup a b -> a
f (MkTup f s) = f