[#264] Make `dfsTraverseValue` parameterized by `DfsSettings`
Description
Problem: Unlike dfsTraverseInstr
, dfsTraverseValue
doesn't provide
any way to specify how effects should be applied (see DfsSettings
).
And because of that when it encounters a value with instructions it
doesn't respect DfsSettings
to full extent (e. g. if there is a pair
of two lambdas).
Solution: Make dfsTraverseValue
parameterized by DfsSettings
.
Related issue(s)
Resolves #264 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Moremi Vannak