mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-23 03:32:09 +03:00
16 lines
307 B
Plaintext
16 lines
307 B
Plaintext
1/1: Building Error1 (Error1.idr)
|
|
Error: While processing right hand side of main. When unifying:
|
|
Int
|
|
and:
|
|
String
|
|
Mismatch between: Int and String.
|
|
|
|
Error1:5:17--5:26
|
|
1 | foo : Int -> IO Int
|
|
2 | foo x = pure x
|
|
3 |
|
|
4 | main : IO ()
|
|
5 | main = putStrLn !(foo 10)
|
|
^^^^^^^^^
|
|
|