Fix newline rendering in Decidable chapter
This commit is contained in:
parent
6a2f296e32
commit
fd10b0d5a9
1 changed files with 2 additions and 2 deletions
|
@ -595,8 +595,8 @@ fill in an implicit of an *empty* record type, since there aren't any fields
|
|||
after all. This is why `⊤` is defined as an empty record.
|
||||
|
||||
The trick is to have an implicit argument of the type `T ⌊ n ≤? m ⌋`. Let's go
|
||||
through what this means step-by-step. First, we run the decision procedure, `n
|
||||
≤? m`. This provides us with evidence whether `n ≤ m` holds or not. We erase the
|
||||
through what this means step-by-step. First, we run the decision procedure,
|
||||
`n ≤? m`. This provides us with evidence whether `n ≤ m` holds or not. We erase the
|
||||
evidence to a boolean. Finally, we apply `T`. Recall that `T` maps booleans into
|
||||
the world of evidence: `true` becomes the unit type `⊤`, and `false` becomes the
|
||||
empty type `⊥`. Operationally, an implicit argument of this type works as a
|
||||
|
|
Loading…
Reference in a new issue