When I saw this Exercism problem I figured it was a great fit for APL and a stencil operator
exercism.org/exercises/minesweeper - so far I have this solution and I'm wondering what can be improved - the output should be spaces instead of zeroes so I just do a final
@
replace at the end. I'm also bad at parentheses, so maybe some of these aren't necessary