mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
6dce3a0735
Lists all the names in a namespace with their types, and the first line of their docstring if it exists
15 lines
136 B
Idris
15 lines
136 B
Idris
module Doc
|
|
|
|
||| World!
|
|
export
|
|
world : Nat -> Nat
|
|
world x = x*2
|
|
|
|
nope : Nat
|
|
nope = 0
|
|
|
|
export
|
|
||| Hello!
|
|
hello : Int -> Int
|
|
hello x = x*2
|