diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-01-12 20:39:37 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-01-12 20:39:37 -0500 |
| commit | 3dc2bbcf1b21a53fd208a2c6b23a305145a6928d (patch) | |
| tree | 165689c330e15b2959d6d8a6337221af690fcaa4 /dzref | |
| parent | 356b01417177e8fd8a6cdb92e9782160e95c8b70 (diff) | |
Clean up dzref a little
Diffstat (limited to 'dzref')
| -rwxr-xr-x | dzref | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -26,10 +26,9 @@ _depthOp_←{ #⌜ # LAYER 5: Structural functions -Nat←IsArray◶⟨0⊸≤∧⌊⊸=,0⟩ - Windows←{ - ! IsArray 𝕩 + Nat←(1=•Type)◶⟨0,0⊸≤∧⌊⊸=⟩ + ! 0=•Type 𝕩 ! 1≥=𝕨 ! 𝕨≤○≠≢𝕩 ! ∧´Nat¨⥊𝕨 @@ -95,11 +94,7 @@ _withRef ← ˙ } # built-in assumptions - Mod ← {((⊑chr⊐𝕨)⊑names) ∾ " ← " ∾ 𝕩} - - Raw¨ ⟨ - "IsArray ← 0≠≡" - ⟩∾Mod⟜⥊¨ "↕⊐" + (Raw (chr⊸⊐⌾<⊑names˙)∾" ← "∾⥊)¨ "↕⊐" chr∾↩"⍎" ⋄ names∾↩⟨"⍎_withRef "⟩ |
