mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
10 lines
158 B
Idris
10 lines
158 B
Idris
|
|
||
|
import Lin
|
||
|
|
||
|
0 (=@) : (a : Type) -> (a -> Type) -> Type
|
||
|
(=@) a f = (1 x : a) -> f x
|
||
|
|
||
|
data S : {ty : Type} -> (x : ty) -> Type where
|
||
|
MkS : (x := ty) =@ S x
|
||
|
|