mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 04:33:45 +03:00
6 lines
75 B
Idris
6 lines
75 B
Idris
|
foo : Int -> IO Int
|
||
|
foo x = pure x
|
||
|
|
||
|
main : IO ()
|
||
|
main = putStrLn !(foo 10)
|