From 16ea00650607ba5affc3b94fe133e69920954aa5 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Wed, 1 Jun 2022 17:20:29 -0400 Subject: Use ; for block valences in reference.bqn where reasonable --- spec/reference.bqn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'spec/reference.bqn') diff --git a/spec/reference.bqn b/spec/reference.bqn index afd8ccfb..617b88d2 100644 --- a/spec/reference.bqn +++ b/spec/reference.bqn @@ -43,9 +43,9 @@ HasFill # Whether 𝕩 has a fill value # Combinators β—Ά ← {𝕨((𝕨𝔽𝕩)βŠ‘π•˜){𝔽}𝕩} # LIMITED to number left operand result Λ™ ← {𝕩⋄𝕗} -⊘ ← {𝕨((1˙𝕨)-0)◢𝔽‿𝔾 𝕩} +⊘ ← {𝔽𝕩;𝕨𝔾𝕩} ⊒ ← {𝕩} -⊣ ← {𝕩}⊘{𝕨} +⊣ ← {𝕩;𝕨} ˜ ← {π•©π”½π•¨βŠ£π•©} ∘ ← {𝔽𝕨𝔾𝕩} β—‹ ← {(𝔾𝕨)𝔽𝔾𝕩} @@ -192,7 +192,7 @@ Depth←IsArrayβ—Ά0β€Ώ{1+0⌈´DepthΒ¨β₯Šπ•©} # LAYER 4: Operators > ↩ Merge⍟IsArray ⊘ > -β‹ˆ ← {βŸ¨π•©βŸ©} ⊘ {βŸ¨π•¨,π•©βŸ©} +β‹ˆ ← {βŸ¨π•©βŸ©;βŸ¨π•¨,π•©βŸ©} ≍ ← >βˆ˜β‹ˆ βŽ‰ ← _rankOp_ βš‡ ← _depthOp_ @@ -218,7 +218,7 @@ ValidateRanks←{ } _ranks ← {⟨2⟩⊘⟨1,0⟩ ((⊣-1+|)ΛœβŸœβ‰ βŠ‘Β¨<∘⊒) ValidateRanksβˆ˜π”½} _depthOp_←{ - neg←0>n←𝕨𝔾_ranks𝕩 β‹„ F←𝔽 β‹„ B←{𝕏}⊘{π•¨Λ™βŠΈπ•} + neg←0>n←𝕨𝔾_ranks𝕩 β‹„ F←𝔽 β‹„ B←{𝕏;π•¨Λ™βŠΈπ•} _d←{ R←(𝕗+neg)_d 𝕨(2β₯Š(negβˆ§π•—β‰₯0)∨(0βŒˆπ•—)β‰₯β‹ˆβ—‹β‰‘)β—Ά(⟨RΒ¨β‹„R⟜(𝕩˙)Β¨βˆ˜βŠ£βŸ©β‰βŸ¨(𝕨 B r)Β¨βˆ˜βŠ’β‹„F⟩)𝕩 -- cgit v1.2.3