mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-27 13:43:28 +03:00
23 lines
506 B
Plaintext
23 lines
506 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
|
|
Doc> Bye for now!
|