Idris2/tests/idris2/error/error024/Error1.idr
2023-09-07 14:57:22 +01:00

6 lines
75 B
Idris

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