aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-14 22:13:43 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-18 16:38:12 -0400
commit9b5c6783a95dc0a0048e93e6f610beaa20932191 (patch)
tree4483c6c69cb5bdeceae1d4440c5d2107ac954883 /examples
parentfb0e65434f9e20a80a40ceb5088aea69404480f3 (diff)
Use [] instead of >⟨⟩ in a few places
Diffstat (limited to 'examples')
-rw-r--r--examples/fifty.bqn4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fifty.bqn b/examples/fifty.bqn
index c991aae9..fb336dfe 100644
--- a/examples/fifty.bqn
+++ b/examples/fifty.bqn
@@ -55,7 +55,7 @@ _quicksort ↠{Cmpâ†ð”½ â‹„ Sâ†{pâ†ð•©CmpËœð•©âŠËœRand≠𕩠⋄ ∾1â€
# 8
PascalsTriangle ↠{>ð•©â†‘¨0(∾+∾˜)âŸ(↕ð•©)⥊1}
-! (>⟨1‿0‿0‿0⋄1‿1‿0‿0⋄1‿2‿1‿0⋄1‿3‿3‿1⟩) ≡ PascalsTriangle 4
+! [1‿0‿0‿0⋄1‿1‿0‿0⋄1‿2‿1‿0⋄1‿3‿3‿1] ≡ PascalsTriangle 4
! 1‿1‿2‿3‿5‿8‿13‿21‿34‿55 ≡ { 𕩠↑ +´¨ (+⌜˜↕ð•©) ⊔○⥊ PascalsTriangle ð•© } 10
# 9
@@ -68,7 +68,7 @@ NewtonsMethod ↠(2 ÷˜ ⊢ + ÷)´¨∘(1↓↑) ⥊
# 11
InnerProduct ↠+Ë∘×⎉1‿2
-! (>⟨2‿3⋄4‿1⟩) ≡ (>⟨1‿0⋄¯1‿1⟩) InnerProduct >⟨2‿3⋄6‿4⟩
+! [2‿3⋄4‿1] ≡ [1‿0⋄¯1‿1] InnerProduct [2‿3⋄6‿4]
# 12
CayleysTheorem ↠{Râ†â¥ŠâŠâŠ¢ â‹„ (Rð•©) ≡ R âŠËœâŒœËœ <˘Rð•©}