Only two E's.

This commit is contained in:
Simon Forman 2022-03-24 20:27:22 -07:00
parent 14554527b4
commit 90aa426bbd
4 changed files with 395 additions and 407 deletions

View File

@ -2,28 +2,27 @@
## enstacken
Basis Function Combinator
Function
stack \[clear\] dip
Put the stack onto the stack replacing the contents of the stack.
... a b c enstacken
-------------------------
[c b a ...]
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
> [stack] \[[clear]\] [dip]
### Discussion
Lorem ipsum.
This is a destructive version of [stack]. See the note under
[disenstacken] about the apparent but illusory reversal of the stack.
### Crosslinks
Lorem ipsum.
[stack]
[unstack]
[disenstacken]

View File

@ -2,23 +2,14 @@
## eq
Basis Function Combinator
Basis Function
Same as a == b.
Compare the two items on the top of the stack for equality and replace
them with a Boolean value.
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
a b eq
-------------
Boolean
### Discussion
@ -26,4 +17,10 @@ Lorem ipsum.
### Crosslinks
Lorem ipsum.
[cmp]
[ge]
[gt]
[le]
[lt]
[ne]

File diff suppressed because it is too large Load Diff

View File

@ -1341,53 +1341,43 @@ Run a copy of program `F` under the next item down on the stack.
## enstacken
Basis Function Combinator
Function
stack \[clear\] dip
Put the stack onto the stack replacing the contents of the stack.
... a b c enstacken
-------------------------
[c b a ...]
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
> [stack] \[[clear]\] [dip]
### Discussion
Lorem ipsum.
This is a destructive version of [stack]. See the note under
[disenstacken] about the apparent but illusory reversal of the stack.
### Crosslinks
Lorem ipsum.
[stack]
[unstack]
[disenstacken]
------------------------------------------------------------------------
## eq
Basis Function Combinator
Basis Function
Same as a == b.
Compare the two items on the top of the stack for equality and replace
them with a Boolean value.
Gentzen diagram.
### Definition
if not basis.
### Derivation
if not basis.
### Source
if basis
a b eq
-------------
Boolean
### Discussion
@ -1395,7 +1385,13 @@ Lorem ipsum.
### Crosslinks
Lorem ipsum.
[cmp]
[ge]
[gt]
[le]
[lt]
[ne]
------------------------------------------------------------------------