aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-09-05 10:47:33 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-09-05 10:47:33 -0400
commit2e16b98ce2471dc6a64ae17775828371d5620666 (patch)
tree7a1978f0781111355a21e9e083ae39aa972f95ec /spec
parent60b712e7bc4ebb0f59aba506e60f913354d75f90 (diff)
BREAKING: enclose atom argument in ⟨⟩↕atom to align with other 0-axis primitives
Diffstat (limited to 'spec')
-rw-r--r--spec/reference.bqn2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/reference.bqn b/spec/reference.bqn
index 823491ba..5b44a066 100644
--- a/spec/reference.bqn
+++ b/spec/reference.bqn
@@ -378,7 +378,7 @@ Windows←{
c ← ><¨⊸⊏⟜𝕩¨i # Select the cells
((≢i)∾𝕨≠⊸↓≢𝕩)⥊c # Reshape in case it's empty
}⍟(0<≠𝕨)𝕩
-}
+}⟜ToArray
Reverse ← {!1≤=𝕩 ⋄ (-↕⊸¬≠𝕩)⊏𝕩}
Rotate ← {!Int𝕨 ⋄ l←≠𝕩⋄(l|𝕨+↕l)⊏𝕩} _onAxes_ 0