about summary refs log tree commit diff
path: root/users/sterni/exercises/aoc/2022/05/5.bqn
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-12-10T20·35+0100
committerclbot <clbot@tvl.fyi>2022-12-10T20·51+0000
commitb8afed6dd4ccd6d32bc806882ec458ea553f6b89 (patch)
tree87f822af2d4eb668fed11d7e90a54e79979e3e84 /users/sterni/exercises/aoc/2022/05/5.bqn
parentc381fa64cf9d375290c76436faf1078bc8d81ff7 (diff)
refactor(sterni/aoc/2022/05): rank 2 array into list of lists w/ <˘ r/5404
Change-Id: Ic536908bad5bb4af860ec53bd585ed74af3117af
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7557
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/exercises/aoc/2022/05/5.bqn')
-rw-r--r--users/sterni/exercises/aoc/2022/05/5.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/sterni/exercises/aoc/2022/05/5.bqn b/users/sterni/exercises/aoc/2022/05/5.bqn
index b3d190b9fc77..15b0dfc805b5 100644
--- a/users/sterni/exercises/aoc/2022/05/5.bqn
+++ b/users/sterni/exercises/aoc/2022/05/5.bqn
@@ -3,7 +3,7 @@ rs‿rc ← (<"") SplitOn •FLines "../05/input"
 
 stacks ← {
   count ← '0'-˜⊑⌽' ' (≠/⊢) ⊑⌽rs
-  ' ' (≠/⊢)¨⥊⋈˘ (count×4) ((»∘(0⊸=)∘(4⊸|)∘↕⊣)/↑) ⍉> (-1)↓rs
+  ' ' (≠/⊢)¨<˘ (count×4) ((»∘(0⊸=)∘(4⊸|)∘↕⊣)/↑) ⍉> (-1)↓rs
 }
 
 cmds ← {0‿1‿1-˜ ReadDec¨ ((∧´IsAsciiNum)¨/⊢) (<' ') SplitOn 𝕩}¨ rc