Idris2/tests/idris2/docs002/Doc.idr

15 lines
136 B
Idris
Raw Normal View History

module Doc
||| World!
export
world : Nat -> Nat
world x = x*2
nope : Nat
nope = 0
export
||| Hello!
hello : Int -> Int
hello x = x*2