aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-20 13:50:30 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-20 13:50:30 -0400
commitf910f64594053011efd57a97100ad19ee1e39fb4 (patch)
tree33550f94bf4c2ea035e73d6e37395de299e4ab11 /src
parentbfc6eb1fcc5408ecf415224d47494a4005330da8 (diff)
Use "unit" or "rank-0" instead of "scalar"
Diffstat (limited to 'src')
-rw-r--r--src/fmt.bqn2
-rw-r--r--src/r.bqn2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fmt.bqn b/src/fmt.bqn
index f1171c1e..def46f58 100644
--- a/src/fmt.bqn
+++ b/src/fmt.bqn
@@ -1,6 +1,6 @@
# Format an array to a string including newlines
{
- F0←𝔽 # Function to format a scalar
+ F0←𝔽 # Function to format an atom
FmtAtom ← (≍ <⟜@β—ΆβŸ¨@βŠΈβ‰ β—ΆβŸ¨"@","'"⊸(∾∾⊣)⟩,F0⟩)
# Vertical padding for arrays of rank greater than 2
diff --git a/src/r.bqn b/src/r.bqn
index 5132b453..b0e451ec 100644
--- a/src/r.bqn
+++ b/src/r.bqn
@@ -19,7 +19,7 @@ Pair ← {βŸ¨π•©βŸ©} ⊘ {βŸ¨π•¨,π•©βŸ©}
Box ← {⟨⟩β₯ŠβŸ¨π•©βŸ©}
ToArray ← Box⍟(1-IsArray)
-# LIMITED to numeric arguments for scalar cases
+# LIMITED to numeric arguments for arithmetic cases
β‰₯ ← β‰€Λœ
< ← Box ⊘ (1-β‰₯)
> ← (1-≀)