diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-06 16:27:45 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-08-06 16:27:45 -0400 |
| commit | 8058cc31eb23393f7c78617d0136e9d21e28d869 (patch) | |
| tree | db7758197ab2a33ee13e8df72ebbff87f4313077 | |
| parent | 06b5904e470b5295a6f09b6f85f21cb8172e13be (diff) | |
Don't rely on ⊑ of empty in md.bqn
| -rw-r--r-- | md.bqn | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -395,10 +395,10 @@ Markdown ← {filename𝕊𝕩: # the natural depth, which is equal to the adjusted depth plus one # at each open bracket, can only decrease between two values if # they have the same depth and the first is open but the second - # is closed: that is, if they form a balanced pair. ⊑⊸»⊸> gives a - # mask for the second part of each such pair and «⊸∨ extends it to - # the first as well. - hasPair ← «⊸∨ ⊑⊸»⊸> order⊏depth + # is closed: that is, if they form a balanced pair. 1⊸↑⊸»⊸> gives + # a mask for the second part of each such pair and «⊸∨ extends it + # to the first as well. + hasPair ← «⊸∨ 1⊸↑⊸»⊸> order⊏depth ∘‿2 ⥊ hasPair / order⊏ind } JoinPairs ← { |
