D18
Presentation
One Extension and Seven New Primitives
On now
Many everyday APL expressions are longer than they need to be. Adám presents a draft proposal for eight small language changes, each of which shortens a common idiom: monadic ≤ and ≥ to sort ascending and descending, monadic ∧ and ∨ to promote and demote rank, monadic ⊤ and ⊥ to encode and decode binary, monadic ⊇ (a companion to monadic ⊃) to pick the last, and an extension to dyadic ⍴ allowing one axis length to be inferred. He demonstrates each in use and invites discussion.