mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +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)
|