File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/docs/reference/metaprogramming Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ and allow for undefined compiler behavior if they are not. This is analogous to
459459the status of pattern guards in Scala, which are also required, but not
460460verified, to be pure.
461461
462- [ Multi-Stage Programming] ( ./staging.md ) introduces one additional methods where
462+ [ Multi-Stage Programming] ( ./staging.md ) introduces one additional method where
463463you can expand code at runtime with a method ` run ` . There is also a problem with
464464that invokation of ` run ` in splices. Consider the following expression:
465465
@@ -475,7 +475,7 @@ the splice will reduce the expression `run('x)` to `x`. But then the result
475475
476476is no longer phase correct. To prevent this soundness hole it seems easiest to
477477classify ` run ` as a side-effecting operation. It would thus be prevented from
478- appearing in splices. In a base language with side- effects we'd have to do this
478+ appearing in splices. In a base language with side effects we would have to do this
479479anyway: Since ` run ` runs arbitrary code it can always produce a side effect if
480480the code it runs produces one.
481481
You can’t perform that action at this time.
0 commit comments