mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 11:13:36 +03:00
20 lines
543 B
Plaintext
20 lines
543 B
Plaintext
|
1/1: Building RecordDoc (RecordDoc.idr)
|
||
|
RecordDoc>
|
||
|
RecordDoc> RecordDoc.A : Type -> Type
|
||
|
Totality: total
|
||
|
Constructor: __mkA : _
|
||
|
Projection: anA : A a -> a
|
||
|
RecordDoc> RecordDoc.Tuple : Type -> Type -> Type
|
||
|
Totality: total
|
||
|
Constructor: __mkTuple : _
|
||
|
Projections:
|
||
|
proj1 : Tuple a b -> a
|
||
|
proj2 : Tuple a b -> b
|
||
|
RecordDoc> RecordDoc.Singleton : a -> Type
|
||
|
Totality: total
|
||
|
Constructor: __mkSingleton : _
|
||
|
Projections:
|
||
|
equal : ({rec:0} : Singleton v) -> value rec = v
|
||
|
value : Singleton v -> a
|
||
|
RecordDoc> Bye for now!
|