Enlist

is a primitive function which returns a simple vector of all simple scalar values in a possibly nested array. Enlist differs from Ravel in that Enlist flattens over all layers of nesting, while Ravel flattens only the outermost layer. Enlist shares its glyph  with the dyadic function Membership.

Examples
Enlist is equivalent to a depth-first search collecting all simple scalars, where each layer (which in turn can be of any rank) is traversed in ravel order.

Enlist acts like Ravel for simple arrays. This includes simple scalars, where the result is a singleton vector.

Lessons

 * APL Cultivation

Documentation

 * Dyalog
 * APLX