Some edits to some notebooks.

This commit is contained in:
sforman
2023-10-09 12:48:14 -07:00
parent 356f67dd7d
commit 32d772e8b0
4 changed files with 34 additions and 31 deletions
+4 -19
View File
@@ -1981,18 +1981,6 @@ Like [getitem] but [swap]s the order of arguments.
[getitem]
------------------------------------------------------------------------
## or
Logical bit-wise OR.
### Crosslinks
[and]
------------------------------------------------------------------------
## over
@@ -3247,26 +3235,23 @@ Unquote (using [i]) the list that is second on the stack.
------------------------------------------------------------------------
## ||
## or
Combinator
Short-circuiting Boolean OR
### Discussion
Accept two quoted programs, run the first and expect a Boolean value, if
its `false` pop it and run the second program (which should also return a
Boolean value) otherwise pop the second program (leaving `true` on the
stack.)
stack.) The quoted programs are run with [nullary].
[A] [B] ||
[A] [B] or
---------------- A -> false
B
[A] [B] ||
[A] [B] or
---------------- A -> true
true