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
|
2021-03-12 12:46:46 +03:00
|
|
|
Hello!
|
2020-07-08 19:56:54 +03:00
|
|
|
world : Nat -> Nat
|
2021-03-12 12:46:46 +03:00
|
|
|
World!
|
2021-04-28 11:31:01 +03:00
|
|
|
Doc> Doc.NS.NestedNS.Foo : Type
|
|
|
|
A type of Foo
|
|
|
|
|
2021-05-05 23:54:04 +03:00
|
|
|
Doc> Doc.WrappedInt : Type
|
|
|
|
Totality: total
|
|
|
|
Constructor: MkWrappedInt : Int -> WrappedInt
|
|
|
|
|
|
|
|
Doc> Doc.SimpleRec : Type
|
|
|
|
Totality: total
|
|
|
|
Constructor: MkSimpleRec : Int -> String -> SimpleRec
|
2021-05-21 18:46:14 +03:00
|
|
|
Projections:
|
|
|
|
a : SimpleRec -> Int
|
|
|
|
b : SimpleRec -> String
|
2020-07-08 19:56:54 +03:00
|
|
|
Doc> Bye for now!
|