A dependently typed programming language, a successor to Idris
Go to file
Edwin Brady 9f4ca9e67f Add pruneByType
This shortcuts ambiguity checking by only keeping the things which have
the target type. Given a set of ambiguous applications, the rules are:

- keep any which return the expected target type (a concrete match), or
  a polymorphic type (a possible match)
- if there are any concrete matches, drop any possible match which has
  the '%allow_overloads' flag set (in practice this will be interface
  methods, but other things can be flagged).
- if there ar eno matches, keep everything so that the error messages
  show everything that went wrong.
2019-05-21 12:11:55 +01:00
sample Check locals are usable (with determining args) 2019-05-06 01:06:24 +01:00
src Add pruneByType 2019-05-21 12:11:55 +01:00
tests Let's not use exceptions for control flow... 2019-05-20 19:05:28 +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 First attempt at linearity checking pass 2019-05-19 20:24:14 +01:00