mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
10 lines
281 B
Idris
10 lines
281 B
Idris
module UninhIndent
|
|
|
|
data MyElem : a -> List a -> Type where
|
|
MyHere : MyElem x (x :: xs)
|
|
MyThere : (later : MyElem x xs) -> MyElem x (y :: xs)
|
|
|
|
Uninhabited (MyElem a []) where
|
|
uninhabited c = ?uninhabited_rhs
|
|
|