-
Notifications
You must be signed in to change notification settings - Fork 9
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
Port to Idris2 #27
Comments
Currently the idris2 branch fails to compile with many errors like:
Passing the
Not sure whether this is related to this issue: https://github.com/edwinb/Idris2/issues/236. |
TBH I haven't tried recompiling this branch for a few months, as Idris2 is currently a bit of a moving target. However given that @gallais is a team member now, we should probably give it another try. |
So I have managed to track down the last issue: idris-lang/Idris2#269 Once this patch is installed, everything goes through and then Idris2 spends |
Ah, if it's down to just a performance issue, that sounds pretty good, given that Edwin lately seems to prioritize those :) |
I'm pretty sure this (and Ohad's performance problem) are down to things from the prelude/base libraries not being evaluated, so blocking and causing huge terms that need quoting/writing out. Idris 1 exported a lot more publicly. I wonder if we're generally doing this wrong, in that a lot of things in the Prelude - and some base libraries - are often needed at the type level and therefore should be public export as they were in Idris 1. There's also a question of evaluation at the REPL vs evaluation in the type checker. At the REPL, it reduces everything whether public export or not. |
I've updated the examples but still none of them work except |
What's curious is that (at least for |
@gallais have you had any progress on debugging this, or should I take a look? |
I have not had a look. |
I cleaned up some modules today, reusing I had a look at
I'll try to see with Edwin if we could maybe have a primitive forcing eager full normalisation In the meantime, I have experienced something weird:
|
I've pushed an initial attempt to the idris2 branch, the core library itself seems to compile (at least with the latest
master
version), but the examples still need some work.The text was updated successfully, but these errors were encountered: