mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
10 lines
168 B
Idris
10 lines
168 B
Idris
|
|
typebind infixr 0 =@
|
|
|
|
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
|
|
|