Update bounds-checking note for overflow-checking

This commit is contained in:
Nigel Tao committed 2019-12-17 00:00:11 +11:00
1 parent 5ad98921e7
commit 89bbe30115
2 files changed
+31 -16

No files matched your search

+4 -2
View File
@@ -11,8 +11,10 @@ where it left off, in the middle of the function body. See the
A type that depends on another value. For example, a variable `n`'s type might
be "the length of `s`", for some other
[slice](/doc/note/slices-arrays-and-tables.md)-typed variable `s`. Dependent
types are *a* way to implement [bounds checking](/doc/note/bounds-checking.md),
but they're not the only way. Wuffs does not use them.
types are *a* way to implement compile-time [bounds
checking](/doc/note/bounds-checking.md), but they're not the only way, and
there's more to programming languages than their type systems. Wuffs does not
use dependent types.
#### Effect