mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
18 lines
429 B
Idris
18 lines
429 B
Idris
|
foo : {p,q : Nat -> Type} -> p x
|
||
|
foo = ?a
|
||
|
|
||
|
where
|
||
|
|
||
|
helper : {p2 : Nat -> Nat -> Type} -> p2 y 0
|
||
|
helper = ?b
|
||
|
|
||
|
helper1 : {p2 : Nat -> Nat -> Type} -> (y : Nat) -> p2 y 0
|
||
|
helper1 = ?c
|
||
|
|
||
|
helper2 : (y : Nat) -> {p2 : Nat -> Nat -> Type} -> p2 y 0
|
||
|
helper2 = ?d
|
||
|
|
||
|
-- introduce the ones after explicitly bound variables though
|
||
|
helper3 : (y : Nat) -> {p2 : Nat -> Nat -> Type} -> p2 y 0
|
||
|
helper3 y = ?e
|