I tried to compile the hello-world example with Agda 2.6.1.3 and Agda stdlib 1.5. Below is the code:
module hello-world where
open import IO
main = run (putStrLn "Hello, World!")
When compiling with Agda (agda --compile hello-world.agda
), the following error is reported:
Unsolved metas at the following locations:
$HOME/hello-world.agda:5,8-11
The reported position (5,8-11
) corresponds to token run
.
I did not find any related information in both Agda and Agda-stdlib Issues, nor on SO or other websites. Is the documentation out-dated, or did I make any mistakes?
Note:
- The Agda compiler is installed with
stack install Agda
with resolverlts-17.5
. - I also tried manually compiling from GitHub sources (branch
release-2.6.1.3
). - In
$HOME/.agda/libraries
I have:$HOME/agda-stdlib/standard-library.agda-lib
- In
$HOME/.agda/defaults
I have:standard-library