Idris2/tests/idris2/interactive/interactive020/Issue835.idr
2023-09-07 14:57:22 +01:00

15 lines
248 B
Idris

module Issue835
baz : (x : Nat) -> {P2 : Nat -> Type} -> P2 x
baz x = ?rhs3
foo : {P : Nat -> Type} -> Dec (P 0)
foo = ?rhs1 where
bar : {P2 : Nat -> Type} ->
(x : Nat)
-> P2 x
bar x with (S x)
bar x | x1 = ?rhs2