Idris2/tests/idris2/docs003/RecordDoc.idr
2021-05-21 18:23:13 +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