aboutsummaryrefslogtreecommitdiff
path: root/doc/syntax.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-08-17 08:04:05 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-08-17 08:04:05 -0400
commitf35eb238324d446c383a36828d7154001a2badd5 (patch)
tree69667c7bae6612f9de52128e162f5e170de338a1 /doc/syntax.md
parent25bf556f9434f557171b040fc2945eacb112ba8c (diff)
Typo
Diffstat (limited to 'doc/syntax.md')
-rw-r--r--doc/syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/syntax.md b/doc/syntax.md
index 37d94dc2..27743f6b 100644
--- a/doc/syntax.md
+++ b/doc/syntax.md
@@ -4,7 +4,7 @@
BQN syntax consists of expressions where computation is done, with a little organizing structure around them like assignment, functions, and list notation. Expressions are where the programmer is in control, so the design tries to do as much as possible with them before introducing special syntax.
-A *program* is a unit of source code that's evaluated, such as a source file, or one line of REPL input (one run of the `bqn` executable often involves multiple programs). Like a [block](#blocks), it's a sequence of expressions to be evaluated in order. It has a result, which is used it the program was evaluated from BQN with `•BQN`, `•Import` or similar. An error might occur when a program is running; this ends execution unless it's [caught](assert.md#catch).
+A *program* is a unit of source code that's evaluated, such as a source file, or one line of REPL input (one run of the `bqn` executable often involves multiple programs). Like a [block](#blocks), it's a sequence of expressions to be evaluated in order. It has a result, which is used if the program was evaluated from BQN with `•BQN`, `•Import` or similar. An error might occur when a program is running; this ends execution unless it's [caught](assert.md#catch).
## Precedence