aboutsummaryrefslogtreecommitdiff
path: root/spec/reference.bqn
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-05 12:56:39 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-09-05 12:56:39 -0400
commit6408f52bdb80b0b79191675481bf59739ec3ad5b (patch)
tree2c9895bd1d9def10c7cf7b05b1c7d357fbf2c849 /spec/reference.bqn
parent053d9b3038977db5cbf1921a144366ebaf774cfe (diff)
Prefer ˙ to ˜ for constant functions
Diffstat (limited to 'spec/reference.bqn')
-rw-r--r--spec/reference.bqn10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/reference.bqn b/spec/reference.bqn
index e76ab0c0..03163e9c 100644
--- a/spec/reference.bqn
+++ b/spec/reference.bqn
@@ -109,7 +109,7 @@ _eachd←{
! ∧´(⊑⟜p=⊑⟜q)¨↕k
l←×´(q⊑˜k⊸+)¨↕q≠⊸-k
a←⥊𝕨 ⋄ b←⥊𝕩
- q⥊⥊(≠a) (⊑⟜a𝔽l⊸×⊸+⊑b˜)_table○↕ l
+ q⥊⥊(≠a) (⊑⟜a𝔽l⊸×⊸+⊑b˙)_table○↕ l
}
(>○=)◶⟨𝔽_e⋄𝔽˜_e˜⟩
}
@@ -244,7 +244,7 @@ _repeat_←{
{!Int𝕩⋄l↩l⌊𝕩⋄u↩u⌈𝕩}⚇0 n
a←𝕩⋄_p←{𝔽∘⊣`(1+𝕩)⥊<a}
pos←F _p u ⋄ neg←F⁼_p-l
- (|⊑<⟜0⊑pos‿neg˜)⚇0 n
+ (|⊑<⟜0⊑pos‿neg˙)⚇0 n
}
@@ -366,7 +366,7 @@ Group←{
! n≤=𝕩
! (∾≢⌜𝕨)≡n↑≢𝕩
𝕨↩⥊¨𝕨 ⋄ 𝕩↩((≠¨𝕨)∾n↓≢𝕩)⥊𝕩
- (𝕨⊸=/𝕩˜)¨↕1+¯1⌈´¨𝕨
+ (𝕨⊸=/𝕩˙)¨↕1+¯1⌈´¨𝕨
}
GroupInds←{
! 1==𝕩
@@ -399,9 +399,9 @@ ReorderAxes←{
r←(=𝕩)-+´¬∊𝕨
! ∧´𝕨<r
𝕨↩𝕨∾𝕨(¬∘∊˜/⊢)↕r
- (𝕨⊸⊏⊑𝕩˜)¨↕⌊´¨𝕨⊔≢𝕩
+ (𝕨⊸⊏⊑𝕩˙)¨↕⌊´¨𝕨⊔≢𝕩
}
-Transpose←(=-1˜)⊸ReorderAxes⍟(0<=)
+Transpose←(=-1˙)⊸ReorderAxes⍟(0<=)
# Sorting
Cmp ← ∨○IsArray◶{ # No arrays