Update some ref docs.
This commit is contained in:
parent
6a3576e9ef
commit
b3ddc52f9e
|
|
@ -2,28 +2,40 @@
|
||||||
|
|
||||||
## &&
|
## &&
|
||||||
|
|
||||||
Basis Function Combinator
|
Combinator
|
||||||
|
|
||||||
nulco \[nullary \[false\]\] dip branch
|
Short-circuiting Boolean AND
|
||||||
|
|
||||||
|
Accept two quoted programs, run the first and expect a Boolean value, if
|
||||||
|
it's `true` pop it and run the second program (which should also return a
|
||||||
|
Boolean value) otherwise pop the second program (leaving `false` on the
|
||||||
|
stack.)
|
||||||
|
|
||||||
|
|
||||||
|
[A] [B] &&
|
||||||
|
---------------- true
|
||||||
|
B
|
||||||
|
|
||||||
|
|
||||||
|
[A] [B] &&
|
||||||
|
---------------- false
|
||||||
|
false
|
||||||
|
|
||||||
Gentzen diagram.
|
|
||||||
|
|
||||||
### Definition
|
### Definition
|
||||||
|
|
||||||
if not basis.
|
nulco [nullary [false]] dip branch
|
||||||
|
|
||||||
### Derivation
|
### Derivation
|
||||||
|
|
||||||
if not basis.
|
TODO: this is derived in one of the notebooks I think, look it up and
|
||||||
|
link to it, or copy the content here.
|
||||||
### Source
|
|
||||||
|
|
||||||
if basis
|
|
||||||
|
|
||||||
### Discussion
|
### Discussion
|
||||||
|
|
||||||
Lorem ipsum.
|
This is seldom useful, I suspect, but this way you have it.
|
||||||
|
|
||||||
### Crosslinks
|
### Crosslinks
|
||||||
|
|
||||||
Lorem ipsum.
|
[||](#section-25)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,28 +2,27 @@
|
||||||
|
|
||||||
## !-
|
## !-
|
||||||
|
|
||||||
Basis Function Combinator
|
Function
|
||||||
|
|
||||||
0 \>=
|
Not negative.
|
||||||
|
|
||||||
|
|
||||||
|
n !-
|
||||||
|
----------- n < 0
|
||||||
|
false
|
||||||
|
|
||||||
|
|
||||||
|
n !-
|
||||||
|
---------- n >= 0
|
||||||
|
true
|
||||||
|
|
||||||
Gentzen diagram.
|
|
||||||
|
|
||||||
### Definition
|
### Definition
|
||||||
|
|
||||||
if not basis.
|
0 \>=
|
||||||
|
|
||||||
### Derivation
|
|
||||||
|
|
||||||
if not basis.
|
|
||||||
|
|
||||||
### Source
|
|
||||||
|
|
||||||
if basis
|
|
||||||
|
|
||||||
### Discussion
|
### Discussion
|
||||||
|
|
||||||
Lorem ipsum.
|
Return a Boolean value indicating if a number is greater than or equal to
|
||||||
|
zero.
|
||||||
|
|
||||||
### Crosslinks
|
|
||||||
|
|
||||||
Lorem ipsum.
|
|
||||||
|
|
|
||||||
|
|
@ -2,23 +2,17 @@
|
||||||
|
|
||||||
## \<{}
|
## \<{}
|
||||||
|
|
||||||
Basis Function Combinator
|
Function
|
||||||
|
|
||||||
\[\] swap
|
|
||||||
|
|
||||||
Gentzen diagram.
|
... a \<{}
|
||||||
|
----------------
|
||||||
|
... [] a
|
||||||
|
|
||||||
|
|
||||||
### Definition
|
### Definition
|
||||||
|
|
||||||
if not basis.
|
\[\] swap
|
||||||
|
|
||||||
### Derivation
|
|
||||||
|
|
||||||
if not basis.
|
|
||||||
|
|
||||||
### Source
|
|
||||||
|
|
||||||
if basis
|
|
||||||
|
|
||||||
### Discussion
|
### Discussion
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -15,31 +15,43 @@ See [and](#and).
|
||||||
|
|
||||||
## &&
|
## &&
|
||||||
|
|
||||||
Basis Function Combinator
|
Combinator
|
||||||
|
|
||||||
nulco \[nullary \[false\]\] dip branch
|
Short-circuiting Boolean AND
|
||||||
|
|
||||||
|
Accept two quoted programs, run the first and expect a Boolean value, if
|
||||||
|
it's `true` pop it and run the second program (which should also return a
|
||||||
|
Boolean value) otherwise pop the second program (leaving `false` on the
|
||||||
|
stack.)
|
||||||
|
|
||||||
|
|
||||||
|
[A] [B] &&
|
||||||
|
---------------- true
|
||||||
|
B
|
||||||
|
|
||||||
|
|
||||||
|
[A] [B] &&
|
||||||
|
---------------- false
|
||||||
|
false
|
||||||
|
|
||||||
Gentzen diagram.
|
|
||||||
|
|
||||||
### Definition
|
### Definition
|
||||||
|
|
||||||
if not basis.
|
nulco [nullary [false]] dip branch
|
||||||
|
|
||||||
### Derivation
|
### Derivation
|
||||||
|
|
||||||
if not basis.
|
TODO: this is derived in one of the notebooks I think, look it up and
|
||||||
|
link to it, or copy the content here.
|
||||||
### Source
|
|
||||||
|
|
||||||
if basis
|
|
||||||
|
|
||||||
### Discussion
|
### Discussion
|
||||||
|
|
||||||
Lorem ipsum.
|
This is seldom useful, I suspect, but this way you have it.
|
||||||
|
|
||||||
### Crosslinks
|
### Crosslinks
|
||||||
|
|
||||||
Lorem ipsum.
|
[||](#section-25)
|
||||||
|
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
@ -80,31 +92,30 @@ See [ne](#ne).
|
||||||
|
|
||||||
## !-
|
## !-
|
||||||
|
|
||||||
Basis Function Combinator
|
Function
|
||||||
|
|
||||||
0 \>=
|
Not negative.
|
||||||
|
|
||||||
|
|
||||||
|
n !-
|
||||||
|
----------- n < 0
|
||||||
|
false
|
||||||
|
|
||||||
|
|
||||||
|
n !-
|
||||||
|
---------- n >= 0
|
||||||
|
true
|
||||||
|
|
||||||
Gentzen diagram.
|
|
||||||
|
|
||||||
### Definition
|
### Definition
|
||||||
|
|
||||||
if not basis.
|
0 \>=
|
||||||
|
|
||||||
### Derivation
|
|
||||||
|
|
||||||
if not basis.
|
|
||||||
|
|
||||||
### Source
|
|
||||||
|
|
||||||
if basis
|
|
||||||
|
|
||||||
### Discussion
|
### Discussion
|
||||||
|
|
||||||
Lorem ipsum.
|
Return a Boolean value indicating if a number is greater than or equal to
|
||||||
|
zero.
|
||||||
|
|
||||||
### Crosslinks
|
|
||||||
|
|
||||||
Lorem ipsum.
|
|
||||||
|
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|
@ -166,23 +177,17 @@ See [ne](#ne).
|
||||||
|
|
||||||
## \<{}
|
## \<{}
|
||||||
|
|
||||||
Basis Function Combinator
|
Function
|
||||||
|
|
||||||
\[\] swap
|
|
||||||
|
|
||||||
Gentzen diagram.
|
... a \<{}
|
||||||
|
----------------
|
||||||
|
... [] a
|
||||||
|
|
||||||
|
|
||||||
### Definition
|
### Definition
|
||||||
|
|
||||||
if not basis.
|
\[\] swap
|
||||||
|
|
||||||
### Derivation
|
|
||||||
|
|
||||||
if not basis.
|
|
||||||
|
|
||||||
### Source
|
|
||||||
|
|
||||||
if basis
|
|
||||||
|
|
||||||
### Discussion
|
### Discussion
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue