Idris2/tests/idris2/error024/Error1.idr

6 lines
75 B
Idris
Raw Normal View History

foo : Int -> IO Int
foo x = pure x
main : IO ()
main = putStrLn !(foo 10)