Idris2/tests/idris2/positivity004
Edwin Brady 170af1e87a
Use Closures instead of NF in binders for normal forms (#1823)
* Skip forced arguments in conversion check

This isn't always safe - we have to have also checked the type of the
things we're converting - but in the place where it is safe it can be a
pretty significant saving.

* Use Closures, not NF, in Binders for normal forms

This means we don't need to reduce argument types during unification if
we don't need to. Also, we now try to avoid reducing closures during
unification if they are unified with a metavariable. Together, this
saves a huge amount of unnecessary evaluation in programs that do a lot
of compile time evaluation.

* Didn't mean to update idris2api.ipkg

* Fix dodgy merge
2021-08-08 17:05:29 +01:00
..
expected Use Closures instead of NF in binders for normal forms (#1823) 2021-08-08 17:05:29 +01:00
Issue1771-1.idr [ re #1771 ] Do not use Erased to go under binders 2021-07-23 13:30:24 +01:00
Issue1771-2.idr [ re #1771 ] Fix another Erased-related issue (in nameIn) 2021-07-23 13:30:24 +01:00
Issue1771-3.idr [ re #1771 ] Check parameters for positive uses 2021-07-23 13:30:24 +01:00
run [ re #1771 ] Check parameters for positive uses 2021-07-23 13:30:24 +01:00