mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
13 lines
191 B
Idris
13 lines
191 B
Idris
|
module RecordDoc
|
||
|
|
||
|
record A (a : Type) where
|
||
|
anA : a
|
||
|
|
||
|
record Tuple (a, b : Type) where
|
||
|
proj1 : a
|
||
|
proj2 : b
|
||
|
|
||
|
record Singleton {0 a : Type} (v : a) where
|
||
|
value : a
|
||
|
0 equal : value = v
|