check-variable ( vars declared actual slot var-slot -- diff ok? var )


Vocabulary
stack-checker.row-polymorphism

Inputs
varsan object
declaredan object
actualan object
slotan object
var-slotan object


Outputs
diffan object
ok?an object
varan object


Definition


:: check-variable
( vars declared actual slot var-slot -- diff ok? var )
actual declared [ slot call length ] bi@
declared var-slot call [ vars (check-variable) ] keep ;
inline