The rest of the G's.

This commit is contained in:
Simon Forman 2022-03-25 14:16:37 -07:00
parent 463d7eb9ae
commit 3a71d4669e
6 changed files with 567 additions and 622 deletions

View File

@ -11,7 +11,6 @@ Greater-than-or-equal-to comparison of two numbers.
Boolean
(a >= b)
### Crosslinks
[cmp]

View File

@ -4,26 +4,14 @@
Function
\<{} \[cons\] times
Expect a number on the top of the satck and put that many items from uner it onto a new list.
Gentzen diagram.
### Example
a b c d e 3 grabN
-----------------------
a b [c d e]
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
### Discussion
Lorem ipsum.
### Crosslinks
Lorem ipsum.
> [\<\{\}] \[[cons]\] [times]

View File

@ -2,28 +2,25 @@
## grba
Basis Function Combinator
Function
\[stack popd\] dip
A weird function used in [app2] that does this:
Gentzen diagram.
... 1 2 3 4 5 grba
-------------------------------
... 1 2 3 [4 3 2 1 ...] 5
It grabs the stack under the top item, and substitutes it for the second item down on the stack.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
> \[[stack] [popd]\] [dip]
### Discussion
Lorem ipsum.
This function "grabs" an item from the stack along with a copy of the stack.
It's part of the [app2] definition.
### Crosslinks
Lorem ipsum.
[app2]

View File

@ -2,28 +2,20 @@
## gt
Basis Function Combinator
Basis Function
Same as a \> b.
Greater-than comparison of two numbers.
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
### Discussion
Lorem ipsum.
a b gt
--------------
Boolean
(a > b)
### Crosslinks
Lorem ipsum.
[cmp]
[eq]
[ge]
[le]
[lt]
[ne]

File diff suppressed because it is too large Load Diff

View File

@ -1621,7 +1621,6 @@ Greater-than-or-equal-to comparison of two numbers.
Boolean
(a >= b)
### Crosslinks
[cmp]
@ -1755,91 +1754,68 @@ implementation-dependant.)
## grabN
Basis Function Combinator
Function
\<{} \[cons\] times
Expect a number on the top of the satck and put that many items from uner it onto a new list.
Gentzen diagram.
### Example
a b c d e 3 grabN
-----------------------
a b [c d e]
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
### Discussion
Lorem ipsum.
### Crosslinks
Lorem ipsum.
> [\<\{\}] \[[cons]\] [times]
------------------------------------------------------------------------
## grba
Basis Function Combinator
Function
\[stack popd\] dip
A weird function used in [app2] that does this:
Gentzen diagram.
... 1 2 3 4 5 grba
-------------------------------
... 1 2 3 [4 3 2 1 ...] 5
It grabs the stack under the top item, and substitutes it for the second item down on the stack.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
> \[[stack] [popd]\] [dip]
### Discussion
Lorem ipsum.
This function "grabs" an item from the stack along with a copy of the stack.
It's part of the [app2] definition.
### Crosslinks
Lorem ipsum.
[app2]
------------------------------------------------------------------------
## gt
Basis Function Combinator
Basis Function
Same as a \> b.
Greater-than comparison of two numbers.
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
### Discussion
Lorem ipsum.
a b gt
--------------
Boolean
(a > b)
### Crosslinks
Lorem ipsum.
[cmp]
[eq]
[ge]
[le]
[lt]
[ne]
------------------------------------------------------------------------