πŸ’Ύ Archived View for dcreager.net β€Ί concatenative β€Ί simpler-sap.gmi captured on 2023-11-14 at 07:47:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

A simpler definition of β€˜sap’

2023-11-07

There was a simpler definition of β€˜cons’. Is there a simpler definition of β€˜sap’ too?

The natural linear concatenative basis

Defining β€˜cons’ with only empty quotations

sap β‰œ swap cat i

        ┃ [B] [A] sap
        ┃ [B] [A] swap cat i
    [B] ┃ [A] swap cat i
[B] [A] ┃ swap cat i
[A] [B] ┃ cat i
  [A B] ┃ i
    A B ┃ i

Original definition

For reference, here is the original definition:

sap β‰œ swap unit cat i i

          ┃ [B] [A] sap
          ┃ [B] [A] swap unit cat i i
      [B] ┃ [A] swap unit cat i i
  [B] [A] ┃ swap unit cat i i
  [A] [B] ┃ unit cat i i
[A] [[B]] ┃ compose i i
  [A [B]] ┃ i i
          ┃ A [B] i
        A ┃ [B] i
    A [B] ┃ i
      A B ┃