πΎ 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
-=-=-=-=-=-=-
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
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 β