-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agda can't find standard library modules #62546
Comments
More info:
|
I've had a little look into this and agda seems to be in a bit of a mess. I managed to get hello world to work with the following
I agree this really isn't ideal and it really wasn't obvious that my compile wasn't working due to missing ghc packages. Ideally a ghc with the correct packages loaded would be fed into agda. A agdaWithPackages as suggested in #39318 would also be nice although that pr seems to have not much happening / have problems I don't really understand about interactive mode and emacs. Sorry if this wasn't much help |
Thank you @alexarice , that's a good workaround. |
What needs to happen for this issue to be resolved? |
This somehow solves the issue for compilation. How do I use the standard library in interactive mode, though? |
FWIW, I found this helpful: http://blog.ielliott.io/agda-nixos/ |
you might also be able to use direnv |
Unfortunately I wasn't able to get any of the suggested workarounds here working myself. However, I was able to use |
Issue description
Agda can't find standard library modules.
Steps to reproduce
Install
haskellPackages.Agda
andAgdaStdlib
.Create the following file called
hello-world.agda
.agda --compile hello-world.agda
.Technical details
Note: Possibly related to issue #19434.
The text was updated successfully, but these errors were encountered: