From 8058cc31eb23393f7c78617d0136e9d21e28d869 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 6 Aug 2021 16:27:45 -0400 Subject: =?UTF-8?q?Don't=20rely=20on=20=E2=8A=91=20of=20empty=20in=20md.bq?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- md.bqn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/md.bqn b/md.bqn index 8cca62c0..055a9e88 100644 --- a/md.bqn +++ b/md.bqn @@ -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 ← { -- cgit v1.2.3