I have seen quasi-function symbols $effmask_all and $effmask_ref many times in the ATS library code. What is the meaning of these symbols? When should they be called?
What is the meaning of $effmask_all in ATS?
76 Views Asked by AudioBubble At
1
ATS can track some effects (e.g., non-termination (ntm), reference (ref), write (wrt)). Sometimes, you may want the typechecker to ignore the effects that can potentially be generated from the evaluation of an expression. To do so, you can use
$effmask_allto mask out all the effects and$effmask_refto mask out only the reference-effect. There is also$effmask_wrtfor masking out the write-effect.