Fix some typos in the documentation.

And some minor clean-ups. There should be no semantic changes to the
documentation in this patch.
This commit is contained in:
Chris Palmer committed 2020-01-03 17:53:58 -08:00
1 parent 6f7e9dfa26
commit e9fdc38300
19 files changed
+39 -41

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ Similarly, an expression like `x[i]` is invalid unless there is a compile-time
proof that `i` is in-bounds: that `((0 <= i) and (i < x.length()))`. Proofs can
involve natural bounds (e.g. if `i` has type `base.u8` then `(0 <= i)` is
trivially true since a `base.u8` is unsigned),
[refinements](/doc/glossary.md#refinement-type) (e.g. if `i`has type
[refinements](/doc/glossary.md#refinement-type) (e.g. if `i` has type
`base.u32[..= 100]` then 100 is an inclusive upper bound for `i`),
[facts](/doc/note/facts.md) (e.g. an explicit prior check `if i < x.length()`)
and [interval arithmetic](/doc/note/interval-arithmetic.md) (e.g. for an