With evaluation order fixed, it becomes easy to absorb sequences effectful actions into semantics.
An $\mathcal{A}$-set $(X, \star)$ is:
Key idea:
Simple example: $\mathtt{print!}(s)$ where $c$ is the action of printing $s$.
The free $\mathcal{A}$-set has carrier $\mathcal{A}^* \times X$.
Concatenating actions: $c \star (m, X) = (c \star m, X)$.
$$ \begin{prooftree} \AxiomC{$M \Downarrow m, T$} \UnaryInfC{$\mathtt{print!}(s). M \Downarrow s \star m, T$} \end{prooftree} $$