TypeChecking

- Cleaned up stray elements
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-08 12:04:18 +02:00
parent 6d0750cf73
commit 07fca41966
2 changed files with 6 additions and 4 deletions

View File

@ -106,14 +106,18 @@ This would result in a situation where we have the following production
### Enforcement
$A_{1},\,A_{2}\ldots A_{n}$
Enforcement is the procedure of ensuring that a given `Value`-based
instruction, $instr_{i}$, conforms to the target type or *“to-type”*,
$type_{i}$. An optional flag can be passed such that if the
$typeof(instr_{i}) \neq type_{i}$ that it can then attempt coercion as
to bring it to the equal type.
#### TODO: isSameType
TODO: Document isSameTYpe
#### Coercion
In the case of coercion an application of $coerce()$ is applied to the
incoming instruction, as to produce an instruction $coerceInstr_{i}$, a
`CastedValueInstruction`, which wraps the original instruction inside of

View File

@ -211,8 +211,6 @@ digraph CodequeueProcess {
### Enforcement
$A_{1},\,A_{2}\ldots A_{n}$
Enforcement is the procedure of ensuring that a given `Value`-based instruction, $instr_{i}$, conforms to the target type or _"to-type"_, $type_{i}$. An optional flag can be passed such that if the $typeof(instr_{i}) \neq type_{i}$ that it can then attempt coercion as to bring it to the equal type.
#### TODO: isSameType