-
Notifications
You must be signed in to change notification settings - Fork 23
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
Generate Haskell code from the Agda spec #1315
base: main
Are you sure you want to change the base?
Conversation
Perhaps at this point, before I move forward with other STS's, there is a good opportunity to properly integrate this work into the current Cabal project. @amesgen: What's your opinion? Is this perhaps something you can do? (no pressure 🙂). |
I have tried
I am using agda-stdlib 2.0. What am I doing wrong? |
Will have a look 👍
I am not sure exactly, but maybe you need to setup agda-stdlib-classes and agda-stdlib-meta? ouroboros-consensus/nix/agda.nix Lines 19 to 49 in f196bfc
|
@amesgen thanks for your answer 🙏 So I have those setup, they are in my |
It seems I had outdated version of agda-stdlib-classes and agda-stdlib-meta. Refreshing to match the revisions given in nix file does yield to different errors. |
It should work with nix develop .#agda-spec We definitely want a good readme for |
It's funny that |
Just to explain this behavior: These two commands use the Nix registry which is completely independent of the local project you are working on. Therefore, In contrast, Line 81 in 68b9799
|
I still wish I could |
This PR resolves #1312.