mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +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)
|