diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-29 18:08:24 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-07-29 18:08:24 -0400 |
| commit | 1461cb3b0dcf4991295ecffa7317ae0c4a7a909c (patch) | |
| tree | 7e04a6b27849fd5e56fbd259227157768d320ba2 /impl.bqn | |
| parent | 48d8cc1401e46b8c33330f0f61fd36b40c20b789 (diff) | |
Don't include undefined built-in guards in preprocessing
Diffstat (limited to 'impl.bqn')
| -rw-r--r-- | impl.bqn | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -383,13 +383,13 @@ _bins←{ (≠𝕨) {B⟜𝕩 _binSearch 𝕨}¨ (×´sx) × ⥊⟜(↕×´)⊑⟜(≢𝕩)¨↕cx } -OccurrenceCount ← ⊐˜(⊢-⊏)⍋∘⍋ -ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩} - ⍋ ← Cmp _grade ⊘ ( Cmp _bins) ⍒ ← -∘Cmp _grade ⊘ (-∘Cmp _bins) ∧ ↩ ⍋⊸⊏ ⊘ ∧ ∨ ↩ ⍒⊸⊏ ⊘ ∨ + +OccurrenceCount ← ⊐˜(⊢-⊏)⍋∘⍋ +ProgressiveIndexOf ← {𝕨⊐○(≍˘⟜OccurrenceCount𝕨⊸⊐)𝕩} ⊒ ← OccurrenceCount⊘ ProgressiveIndexOf _repeat_←{ |
