Idris2/tests/idris2/docs002/Doc.idr
Edwin Brady 6dce3a0735 Add :browse
Lists all the names in a namespace with their types, and the first line
of their docstring if it exists
2020-07-08 17:56:54 +01:00

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