For instance, in the case of an add gem, the two arguments to the gem are type-linked; the types of the two arguments are the same.
eg. In the case of an add gem, two value nodes would both be mapped to the same (Num a=> a -> a)
TypeExpr object.
eg. In the case of an add gem, if the two value nodes are associated as in (1), a commit to one value will cause both associated value nodes to appear as keys in the returned map (since they both would change). These will be mapped to the new values that would appear on commit/type-switch.
|
|
|
|