On Tuesday, 9 April 2019 at 23:29:31 UTC, Walter Bright wrote: > I shoulda read this before posting the identical solution! Hah! Well, the nested functions are one of my favorite day-to-day tool in D, so they deserve double mention :)