Went to implement tail-call optimisation in Pat. I didn't realise it beforehand ...

@simon_jf@mastodon.scot

Went to implement tail-call optimisation in Pat. I didn't realise it beforehand (something I should have known, I guess) but CEK machine-style evaluators don't need anything special at all to implement tail calls. When using an explicitly-sequenced IR, frames are only added in with Let- or Seq-nodes, and if a call is in tail-position it won't be in either of these. Neat, the more you know, and easiest "fix" ever!