aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-26 19:27:46 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-26 19:27:46 -0400
commita802ebc617b2209c5c16838e160ae2dba2da42ff (patch)
treef65a60febb29a519263ed6a523b26db3c5dc26a1
parent9d01a2f11efc7f3c3636a1fee61d3ba8307ffc50 (diff)
Remove some unused functions
-rwxr-xr-xdzref14
1 files changed, 2 insertions, 12 deletions
diff --git a/dzref b/dzref
index 5edc7035..26a4891a 100755
--- a/dzref
+++ b/dzref
@@ -2,19 +2,8 @@
impl ← "
#⌜
-# LAYER 3: Remove other limits
-# Now all implementations are full but ↕ is monadic only
-
-Int←IsArray◶⟨⌊⊸=,0⟩
-Nat←IsArray◶⟨0⊸≤∧⌊⊸=,0⟩
-
-
-#⌜
# LAYER 4: Operators
-
-Cell ← ↓⟜≢
-
_ranks ← {⟨2⟩⊘⟨1,0⟩((⊣-1+|)˜⟜≠⊑¨<∘⊢)⥊∘𝔽}
_depthOp_←{
neg←0>n←𝕨𝔾_ranks𝕩 ⋄ F←𝔽
@@ -30,6 +19,8 @@ _depthOp_←{
#⌜
# LAYER 5: Structural functions
+Nat←IsArray◶⟨0⊸≤∧⌊⊸=,0⟩
+
_onAxes_←{
F←𝔽
(𝔾<≡)∘⊣◶{ # One axis
@@ -173,7 +164,6 @@ X←Raw←{≤4}
Mod ← ⍎{𝔽 ((⊑chr⊐𝕨)⊑names) ∾ " ↩ " ∾ 𝕩}
⍎"IsArray ← 0≠≡"
- ⍎"Type ← ⟨⟩⥊0⊸⥊"
'!' Mod "{𝕩 ⋄ ≤1}⍟¬"
Mod⟜⥊¨ "↕∾⌽⊐⍋⍒"