Idris2/tests/idris2/misc/docs003/RecordDoc.idr
2023-09-07 14:57:22 +01:00

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