This was well laid-out and accessible (as someone who doesn't program in C often). I also appreciate the concluding link to a paper about <i>Algebraic Effects</i> which I hadn't known about before today.<p>If you do end up making another post which dives into implementing AE I'd love to read it. Thanks for the read!