Is it possible to run APL code without saving or printing anything?
I have a very hacky solution for AoC day 5 that's basically
{delete ⍵ , copy ⍵} ¨ moves
where delete and copy edit an array in place.
It works, but produces a huge (and useless) nested array that crashes on larger datasets.
I need "run these functions for every value in this array and discard the result".
I have a very hacky solution for AoC day 5 that's basically
{delete ⍵ , copy ⍵} ¨ moves
where delete and copy edit an array in place.
It works, but produces a huge (and useless) nested array that crashes on larger datasets.
I need "run these functions for every value in this array and discard the result".