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