Idris2-boot/tests
Edwin Brady 04e4ebf80e Better approach to erasure in pattern matching
It's a big patch, but the summary is that it's okay to use a pattern in
an erased position if either:

- the pattern can also be solved by unification (this is the same as
  'dot patterns' for matching on non-constructor forms)
- the argument position is detaggable w.r.t. non-erased arguments, which
  means we can tell which pattern it is without pattern matching

The second case, in particular, means we can still pattern match on
proof terms which turn out to be irrelevant, especially Refl.

Fixes #178
2020-01-21 18:47:43 +00:00
..
chez Better approach to erasure in pattern matching 2020-01-21 18:47:43 +00:00
ideMode implement GetOptions and correctly reply nil when no holes 2019-11-11 09:28:11 +01:00
idris2 Better approach to erasure in pattern matching 2020-01-21 18:47:43 +00:00
ttimp Better approach to erasure in pattern matching 2020-01-21 18:47:43 +00:00
typedd-book Better approach to erasure in pattern matching 2020-01-21 18:47:43 +00:00
Main.idr Better approach to erasure in pattern matching 2020-01-21 18:47:43 +00:00
Makefile Add instructions on how to run a subset of the tests 2019-07-28 20:21:34 +02:00
README.md Add instructions on how to run a subset of the tests 2019-07-28 20:21:34 +02:00

Tests

Note: The commands listed in this section should be run from the repository's root folder.

Run all tests: make test

To run only a subset of the tests use: make test only=NAME. NAME is matched against the path to each test case.

Examples:

  • make test only=chez will run all Chez Scheme tests.
  • make test only=ttimp/basic will run all basic tests for TTImp.
  • make test only=idris2/basic001 will run a specific test.