De Bruijn: Implements Wadler's feedback to PR #514
This commit is contained in:
parent
a889fa0273
commit
f4a6f941a0
1 changed files with 2 additions and 3 deletions
|
@ -451,9 +451,8 @@ We can then introduce a convenient abbreviation for variables:
|
||||||
→ Γ ⊢ lookup (toWitness n<?length)
|
→ Γ ⊢ lookup (toWitness n<?length)
|
||||||
#_ n {n<?length} = ` count (toWitness n<?length)
|
#_ n {n<?length} = ` count (toWitness n<?length)
|
||||||
```
|
```
|
||||||
The type of function `#_` asks for clarification. Function `#_` takes
|
Function `#_` takes an implicit argument `n<?length` that provides
|
||||||
an implicit argument `n<?length` that provides evidence for `n` to be
|
evidence for `n` to be within the context's bounds. Recall that
|
||||||
within the context's bounds. Recall that
|
|
||||||
[`True`]({{ site.baseurl }}/Decidable/#proof-by-reflection),
|
[`True`]({{ site.baseurl }}/Decidable/#proof-by-reflection),
|
||||||
[`_≤?_`]({{ site.baseurl }}/Decidable/#the-best-of-both-worlds) and
|
[`_≤?_`]({{ site.baseurl }}/Decidable/#the-best-of-both-worlds) and
|
||||||
[`toWitness`]({{ site.baseurl }}/Decidable/#decidables-from-booleans-and-booleans-from-decidables)
|
[`toWitness`]({{ site.baseurl }}/Decidable/#decidables-from-booleans-and-booleans-from-decidables)
|
||||||
|
|
Loading…
Reference in a new issue