enlist

Revision as of 06:15, 9 July 2022 by Promovicz (talk | contribs) ("Better category ordering, add redirects to categories, fix pseudo-adverb categories")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Enlist
,x

enlist is a primitive that returns the list of its arguments. It is most often used in its monadic form: ,x (sometimes called singleton). All K dialects support n-adic enlist through the list literal syntax: (x;y;z..)

K4 allows lists literals with missing items to act as projections, e.g. (;) is the dyadic form equivalent to {(x;y)}.