3 ms·
By analogy, that's also how type inference works. If you know X, and either the type-rules for arithmetic, or Z, you can figure out Y. The constraints of their
by kroltan 5y ago
By analogy, that's also how type inference works. If you know X, and either the type-rules for arithmetic, or Z, you can figure out Y.
The constraints of their usage can be used to determine the type required of that data.