mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 00:31:57 +03:00
26 lines
574 B
Plaintext
26 lines
574 B
Plaintext
1/1: Building Doc (Doc.idr)
|
|
Doc> MkSimpleRec : Int -> String -> SimpleRec
|
|
MkWrappedInt : Int -> WrappedInt
|
|
SimpleRec : Type
|
|
WrappedInt : Type
|
|
a : SimpleRec -> Int
|
|
b : SimpleRec -> String
|
|
hello : Int -> Int
|
|
Hello!
|
|
world : Nat -> Nat
|
|
World!
|
|
Doc> Doc.NS.NestedNS.Foo : Type
|
|
A type of Foo
|
|
|
|
Doc> Doc.WrappedInt : Type
|
|
Totality: total
|
|
Constructor: MkWrappedInt : Int -> WrappedInt
|
|
|
|
Doc> Doc.SimpleRec : Type
|
|
Totality: total
|
|
Constructor: MkSimpleRec : Int -> String -> SimpleRec
|
|
Projections:
|
|
a : SimpleRec -> Int
|
|
b : SimpleRec -> String
|
|
Doc> Bye for now!
|