neilnjae, A suggestion on Reddit prompted me to revisit an earlier #AdventOfCode solution (day 2) to use the Applicative typeclass, and more use of built-in monoids.
Description at
https://work.njae.me.uk/2023/12/04/applicative-cubes-back-to-aoc-2023-day-2/