Idris2-boot/tests/typedd-book/chapter10
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
..
DataStore.idr Remove trailing whitespace from Idris sources. 2019-10-25 14:24:25 -07:00
DescribeList2.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
DescribeList.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
DLFail.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
expected Better approach to erasure in pattern matching 2020-01-21 18:47:43 +00:00
IsSuffix.idr Remove trailing whitespace from Idris sources. 2019-10-25 14:24:25 -07:00
MergeSort.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
MergeSortView.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
Reverse.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
ReverseSnoc.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
run Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
Shape_abs.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
Shape.idr Add Chapter 10 TypeDD tests 2019-07-08 13:04:39 +02:00
SnocList.idr Remove trailing whitespace from Idris sources. 2019-10-25 14:24:25 -07:00
TestStore.idr Remove trailing whitespace from Idris sources. 2019-10-25 14:24:25 -07:00