diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-05-03 18:04:13 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-05-03 18:04:13 -0400 |
| commit | 75a3e579c6c4c198c2b7c94abbc64b9b20d231f8 (patch) | |
| tree | 8d8f71e5a2136b923feb9650872f6220609a9b68 /src | |
| parent | 6fb49337bbb579c9247cf4788fef1bb56af066aa (diff) | |
Rearrange homogeneous fill code and don't fill monadic ≢¨
Diffstat (limited to 'src')
| -rw-r--r-- | src/r1.bqn | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -316,7 +316,8 @@ Replicate←⟨"/" ⟩_multiAxis○ToArray _fillBy_ ⊢ IsPure ← {d←Decompose𝕩 ⋄ 2⊸≤◶⟨≤⟜0, 1×´·𝕊⌜1↓d˙⟩0⊑d} -HomFil ← ("=≠≡≢"_glyphLookup_(1‿1‿2‿2‿0)∘⊣)◶⊢‿{((𝕎0) Fill 𝕏)⊘𝕏}‿{(𝕎0)⊘0 Fill 𝕏} +hfils ← {𝕏´{0 Fill 𝕏}‿⊢}⌜(⊢∾{𝕏˜}⌜)⊢‿{𝕎{𝕎⊘𝕏}𝕏} +HomFil ← "=≠≡≢"_glyphLookup_(1‿1‿2‿3‿0⊏hfils)⊸{𝕎𝕩} _fillByPure_←{ 𝕘 (3≤Type∘⊣)◶⟨{𝕨Fill𝕏},{(𝕨HomFil𝕩)_fillBy_𝕨}⍟(IsPure⊣)⟩ 𝕗 } |
