Module Talon.Sel
Column selectors.
A selector chooses a set of columns by name, type or kind, without naming a schema. A verb resolves it against its input schema when it is applied, to an ordered list of distinct names. Expr.keep, Expr.across, Expr.each and Kit.drop take selectors; keys stay string list.
Selectors combine with (+), (-) and inter, written inside Sel.( … ): Sel.(prefix "wk" - names [ "wk76" ]).
type tThe type for selectors.
Constructors
names ns selects the columns ns, in the order of ns. A name that appears twice is selected once, at its first position. A name the schema lacks is a problem.
of_kind k selects the columns that a handle of kind k binds (see Kind.provably_equal), in schema order. It selects no extension column.
where p selects the columns (n, t) for which p n t is true, in schema order. p must be pure; it runs when a verb is applied.