mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 17:21:59 +03:00
10 lines
121 B
Idris
10 lines
121 B
Idris
|
|
||
|
%prefix_record_projections off
|
||
|
|
||
|
data T : Nat -> Type where
|
||
|
MkT : (n : Nat) -> T n
|
||
|
|
||
|
record R where
|
||
|
n : Nat
|
||
|
x : T n
|