-
Notifications
You must be signed in to change notification settings - Fork 34
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
[ compat ] with current Idris #2
base: master
Are you sure you want to change the base?
Conversation
Using version 0.3.0 All the ipkgs compile using idris2 --build XXXX.ipkg, except lecture2 as already noted. I do get these warnings (or similar): Warning: compiling hole TTImp.Elab.Term.todo_infer_lam |
Yep the files have holes for the exercises you're supposed to solve yourself :D |
Oh my gosh, thanks so much for the work you put into getting this running with Idris 2! I tried applying this and compiling TinyIdris-v1, but I'm still running into a compile error:
Am I doing something wrong? |
I don't think so. As I said in the original message: I ported the code using You should be able to make the error go away by removing the calls to |
Ah, thank you, I'd missed that for some reason. It compiles fine with Idris2 built from the master branch! |
Have fun! |
Following idris-lang/Idris2#1291 here is an updated version of the code
in this repository to work with the current dev version of idris.
Unfortunately I don't know how to install multiple version in parallel so I can't check
that it works with 0.3.0 too. I suppose I could add CI to this repo if you want to make
sure it does work.
Note that
idris2 --build lecture2.ipkg
fails because of a missinginsertNVarNames
.Adding it to
Core.TT
would require pulling in new notions likeNVar
but I'm notsure whether this is intended (I must admit I don't remember whether lecture 2 had
already covered these topics).