Update some ref docs.

This commit is contained in:
Simon Forman 2022-03-23 14:22:53 -07:00
parent 6a3576e9ef
commit b3ddc52f9e
5 changed files with 567 additions and 553 deletions

View File

@ -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
if not basis.
nulco [nullary [false]] dip branch
### Derivation
if not basis.
### Source
if basis
TODO: this is derived in one of the notebooks I think, look it up and
link to it, or copy the content here.
### Discussion
Lorem ipsum.
This is seldom useful, I suspect, but this way you have it.
### Crosslinks
Lorem ipsum.
[||](#section-25)

View File

@ -2,28 +2,27 @@
## !-
Basis Function Combinator
Function
0 \>=
Not negative.
n !-
----------- n < 0
false
n !-
---------- n >= 0
true
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
0 \>=
### Discussion
Lorem ipsum.
Return a Boolean value indicating if a number is greater than or equal to
zero.
### Crosslinks
Lorem ipsum.

View File

@ -2,23 +2,17 @@
## \<{}
Basis Function Combinator
Function
\[\] swap
Gentzen diagram.
... a \<{}
----------------
... [] a
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
\[\] swap
### Discussion

File diff suppressed because it is too large Load Diff

View File

@ -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
if not basis.
nulco [nullary [false]] dip branch
### Derivation
if not basis.
### Source
if basis
TODO: this is derived in one of the notebooks I think, look it up and
link to it, or copy the content here.
### Discussion
Lorem ipsum.
This is seldom useful, I suspect, but this way you have it.
### 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
if not basis.
### Derivation
if not basis.
### Source
if basis
0 \>=
### 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
if not basis.
### Derivation
if not basis.
### Source
if basis
\[\] swap
### Discussion