mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 12:14:26 +03:00
6 lines
85 B
Idris
6 lines
85 B
Idris
ex : {n : Nat} -> String
|
|
ex {n} = "hello" ++ show n
|
|
|
|
main : IO ()
|
|
main = putStrLn ex
|