This is an implementation, in ATS, of one of my favourite exercises in closures – a line-number printing closure. For reference, the Rust version is given first, and then the same in ATS, whih has a unique flavour of its own. Here is the Rust version: Running it: And here is the same in ATS: … Continue reading A line number closure implementation in ATS