From: Ben Harris Date: Sun, 5 May 2024 12:12:27 +0000 (+0100) Subject: 05a: another place where a scalar can be automatically promoted X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=67478931f46ef657bb5ccf9e02892a347ea00da3;p=aoc-2022.git 05a: another place where a scalar can be automatically promoted --- diff --git a/05/05a.bqn b/05/05a.bqn index e74a64f..0eda860 100644 --- a/05/05a.bqn +++ b/05/05a.bqn @@ -22,8 +22,8 @@ Prep←{ ExecuteMove←{⟨from,to⟩𝕊stacks: crate←⊑from⊑stacks - stacks (1⊸↓)⌾(from⊸⊑) ↩ - stacks (⟨crate⟩⊸∾)⌾(to⊸⊑) ↩ + stacks (1⊸↓)⌾(from⊸⊑) ↩ + stacks (crate⊸∾)⌾(to⊸⊑) ↩ stacks }