mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +01:00
Update bounds-checking note for overflow-checking
This commit is contained in:
1 parent
5ad98921e7
commit
89bbe30115
2 files changed
+31
-16
No files matched your search
+4
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user