Description Usage Arguments Value
This function generates a set of type constraints from the given expression, which can then be solved to infer types for the expression.
1 |
node |
(ASTNode) An expression from which to generate type constraints. |
map |
(SymbolMap) A mapping between program variables and type variables. |
An S4 Result
object, with slots contraints
and map
. The former
is the list of constraints, and the latter is the mapping between program
variables and type variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.