We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bf661b commit 92cbcc5Copy full SHA for 92cbcc5
proposals/stack-switching/Explainer.md
@@ -815,7 +815,7 @@ This abbreviation will be formalised with an auxiliary function or other means i
815
- `switch <typeidx> <tagidx>`
816
- Switch to executing a given continuation directly, suspending the current execution.
817
- The suspension and switch are performed from the perspective of a parent `(on $e switch)` handler, determined by the annotated control tag.
818
- - `switch $ct1 $e : [t1* (ref null $ct1)] -> [t2*]`
+ - `switch $ct1 $e : [t1* (ref null? $ct1)] -> [t2*]`
819
- iff `C.tags[$e] = tag $ft`
820
- and `C.types[$ft] ~~ func [] -> [t*]`
821
- and `C.types[$ct1] ~~ cont [t1* (ref null? $ct2)] -> [te1*]`
0 commit comments