From b08a79d7f0108b2e587bb348f13635329549eaf0 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sat, 23 Apr 2022 10:44:28 -0400 Subject: =?UTF-8?q?Explain=20=C2=AF=20in=20the=20first=20tutorial=20(fixes?= =?UTF-8?q?=20#65)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/expression.html | 7 ++++++- tutorial/expression.md | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/expression.html b/docs/tutorial/expression.html index ed446ae2..912b6666 100644 --- a/docs/tutorial/expression.html +++ b/docs/tutorial/expression.html @@ -28,10 +28,15 @@ Negate Subtract + + ¯ + \9 + Negative +

Shown above are a few arithmetic operations. BQN manages to pass as a normal programming language for three lines so far. That's a big accomplishment for BQN! Earth's a confusing place!

-

The number of spaces between primitive functions like + and - and their arguments doesn't matter: you can use as much or as little as you like. No spaces inside numbers, of course.

+

The number of spaces between primitive functions like + and - and their arguments doesn't matter: you can use as much or as little as you like. No spaces inside numbers, of course. On that note, there's a special minus sign ¯ for use as part of a number, which you can see in the output ¯1.5 above (since -1.5 consists of a function and a number it's often less convenient to use).

↗️
    2 × π
 6.283185307179586
     9 ÷ 2
diff --git a/tutorial/expression.md b/tutorial/expression.md
index 152c723a..840b6086 100644
--- a/tutorial/expression.md
+++ b/tutorial/expression.md
@@ -13,11 +13,11 @@ In the code blocks shown here, input is highlighted and indented, while output i
         - 1.5
 
 
 Shown above are a few arithmetic operations. BQN manages to pass as a normal programming language for three lines so far. That's a big accomplishment for BQN! Earth's a confusing place!
 
-The number of spaces between *primitive functions* like `+` and `-` and their *arguments* doesn't matter: you can use as much or as little as you like. No spaces inside numbers, of course.
+The number of spaces between *primitive functions* like `+` and `-` and their *arguments* doesn't matter: you can use as much or as little as you like. No spaces inside numbers, of course. On that note, there's a special minus sign `¯` for use as part of a number, which you can see in the output `¯1.5` above (since `-1.5` consists of a function and a number it's often less convenient to use).
 
         2 × π
         9 ÷ 2
-- 
cgit v1.2.3