%% %% Calculi names. %% \newcommand{\Links}{Links\xspace} \newcommand{\BCalc}{\ensuremath{\lambda_{\mathsf{b}}}} \newcommand{\BCalcRec}{\ensuremath{\lambda_{\mathsf{b}+\mathsf{rec}}}} %% %% Calculi terms and types type-setting. %% \newcommand{\slab}[1]{\textrm{#1}} \newcommand{\semlab}[1]{\text{\scshape{S-#1}}} \newcommand{\tylab}[1]{\text{\scshape{T-#1}}} \newcommand{\mlab}[1]{\text{\scshape{M-#1}}} \newcommand{\siglab}[1]{\text{\scshape{Sig-#1}}} \newcommand{\klab}[1]{#1} \newcommand{\revto}{\ensuremath{\leftarrow}} \newcommand{\dec}[1]{\mathsf{#1}} \newcommand{\keyw}[1]{\mathbf{#1}} \newcommand{\Handle}{\keyw{handle}} \newcommand{\ShallowHandle}{\ensuremath{\keyw{handle}^\dagger}} \newcommand{\With}{\keyw{with}} \newcommand{\Let}{\keyw{let}} \newcommand{\Rec}{\keyw{rec}} \newcommand{\In}{\keyw{in}} \newcommand{\Do}{\keyw{do}} \newcommand{\Return}{\keyw{return}} \newcommand{\Val}{\keyw{val}} \newcommand{\Case}{\keyw{case}} \newcommand{\If}{\keyw{if}} \newcommand{\Then}{\keyw{then}} \newcommand{\Else}{\keyw{else}} \newcommand{\Absurd}{\keyw{absurd}} \newcommand{\Record}[1]{\ensuremath{\langle #1 \rangle}} \newcommand{\Unit}{\Record{}} \newcommand{\Inl}{\keyw{inl}} \newcommand{\Inr}{\keyw{inr}} \newcommand{\Thunk}{\lambda \Unit.} \newcommand{\Pre}[1]{\mathsf{Pre}(#1)} \newcommand{\Abs}{\mathsf{Abs}} \newcommand{\Presence}{\mathsf{Presence}} \newcommand{\Row}{\mathsf{Row}} \newcommand{\Type}{\mathsf{Type}} \newcommand{\Ground}{\mathsf{ground}} \newcommand{\Comp}{\mathsf{Comp}} \newcommand{\Effect}{\mathsf{Effect}} \newcommand{\Handler}{\mathsf{Handler}} \newcommand{\One}{1} \newcommand{\Int}{\mathsf{Int}} \newcommand{\Bool}{\mathsf{Bool}} \newcommand{\List}{\mathsf{List}} \newcommand{\Nat}{\mathsf{Nat}} \newcommand{\Choose}{\dec{Choose}} \newcommand{\Count}{\dec{count}} \newcommand{\GenericSearch}{\dec{genericSearch}} \newcommand{\Predicate}{\dec{Predicate}} \newcommand{\Point}{\dec{Point}} \newcommand{\Branch}{\dec{Branch}} \newcommand{\Get}{\dec{Get}} \newcommand{\Put}{\dec{Put}} \newcommand{\Zero}{\dec{Zero}} \newcommand{\Fail}{\dec{Fail}} \newcommand{\True}{\mathsf{true}} \newcommand{\False}{\mathsf{false}} %% Handler projections. \newcommand{\hret}{H^{\mathrm{val}}} \newcommand{\hval}{\hret} \newcommand{\hops}{H^{\mathrm{ops}}} %\newcommand{\hex}{H^{\mathrm{ex}}} \newcommand{\hell}{H^{\ell}}