aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-27 21:17:37 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-12-27 21:43:17 -0500
commit43e221b6601223758481515a09dd33db6d7cb0ec (patch)
tree01268992c04f35d6168b7b3c1a286dbbac8c5b0a /src
parent7989e357179e5e50c05a64b3c9a05a2f08f56694 (diff)
Require argument to monadic ⊏ to have at least one cell
Diffstat (limited to 'src')
-rw-r--r--src/r.bqn1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/r.bqn b/src/r.bqn
index a333b97c..41f836c5 100644
--- a/src/r.bqn
+++ b/src/r.bqn
@@ -152,6 +152,7 @@ _sort ← {(𝕗⊑⟨Cmp,Cmp˜⟩)_grade_𝕗 ⊸ ⊏}
FirstCell←{
"⊏𝕩: 𝕩 must have rank at least 1" ! 1≤=𝕩
+ "⊏𝕩: 𝕩 cannot have length 0" ! 0<≠𝕩
(<0) GetCells 𝕩
}
SelSub←{