! Enumeration

Enumerated symbol list

Syntax: x!y, ![x;y]


  • x is a handle to a symbol list
  • y is an int vector in the domain til count x

returns an enumerated symbol list. Enumeration is a uniform function.

q)`x!1 2 3

Enum Extend, Enumeration
! bang
Basics: Enumerations
Q for Mortals: §7.5 Enumerations