2020-07-08 19:56:54 +03:00
|
|
|
1/1: Building Doc (Doc.idr)
|
2021-05-05 23:54:04 +03:00
|
|
|
Doc> MkSimpleRec : Int -> String -> SimpleRec
|
|
|
|
MkWrappedInt : Int -> WrappedInt
|
|
|
|
SimpleRec : Type
|
|
|
|
WrappedInt : Type
|
|
|
|
a : SimpleRec -> Int
|
|
|
|
b : SimpleRec -> String
|
|
|
|
hello : Int -> Int
|
2020-07-08 19:56:54 +03:00
|
|
|
world : Nat -> Nat
|
2021-09-15 15:20:58 +03:00
|
|
|
.a : SimpleRec -> Int
|
|
|
|
.b : SimpleRec -> String
|
2021-04-28 11:31:01 +03:00
|
|
|
Doc> Doc.NS.NestedNS.Foo : Type
|
|
|
|
A type of Foo
|
2022-03-25 02:11:10 +03:00
|
|
|
Visibility: private
|
2021-08-19 13:38:14 +03:00
|
|
|
Doc> data Doc.WrappedInt : Type
|
2021-05-05 23:54:04 +03:00
|
|
|
Totality: total
|
2022-03-25 02:11:10 +03:00
|
|
|
Visibility: public export
|
2021-05-05 23:54:04 +03:00
|
|
|
Constructor: MkWrappedInt : Int -> WrappedInt
|
2021-08-19 13:38:14 +03:00
|
|
|
Doc> record Doc.SimpleRec : Type
|
2021-05-05 23:54:04 +03:00
|
|
|
Totality: total
|
2022-03-25 02:11:10 +03:00
|
|
|
Visibility: public export
|
2021-05-05 23:54:04 +03:00
|
|
|
Constructor: MkSimpleRec : Int -> String -> SimpleRec
|
2021-05-21 18:46:14 +03:00
|
|
|
Projections:
|
2021-09-15 15:20:58 +03:00
|
|
|
.a : SimpleRec -> Int
|
|
|
|
.b : SimpleRec -> String
|
2020-07-08 19:56:54 +03:00
|
|
|
Doc> Bye for now!
|