A dependently typed programming language, a successor to Idris
Go to file
Edwin Brady 5383bd89be Fix interaction between as patterns and case
There was a check on evaluating lets which was in Blodwen but I hadn't
added to the normaliser yet! Also, normalisation needs to reduce as
patterns for unification, but not when reducing finished LHS and
argument terms. This is a bit of a hack (but then, so is the
implementation of as patterns in general...).

So, when we're checking a nested expression, we have the as pattern as a
let bound variable (so that it has the necessary computational force)
but when we compile we just pass it as an ordinary argument, then it
gets the desired behaviour in case trees.
2019-05-17 18:47:20 +01:00
sample Check locals are usable (with determining args) 2019-05-06 01:06:24 +01:00
src Fix interaction between as patterns and case 2019-05-17 18:47:20 +01:00
tests Fix interaction between as patterns and case 2019-05-17 18:47:20 +01:00
Makefile Support eta in unification 2019-05-07 15:06:00 +01:00
tests.ipkg Added test framework (copied from Blodwen) 2019-05-07 10:43:02 +01:00
yaffle.ipkg Implement local function definitions 2019-05-13 00:44:28 +01:00