mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 11:13:36 +03:00
15 lines
248 B
Idris
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
|