Standard terminology in NuVoc is: noun/verb is /part of speech/ literal/numeric is /type/ integer/float is /precision/
An empty list has a type/precision which is used for fill (thus {. '' is a byte literal, {. $0 is an integer numeric). Most control arguments treat an empty list of any type as if it were numeric, e. g.
'' $ 1 2 3 1 (0 $ a:) $ 1 2 3 1 Henry Rich On 12/29/2022 1:21 PM, Raul Miller wrote:
Conceptually, the data type of a list is the type of its elements. When the list has no elements, the type is arbitrary but structural operations tend to preserve that arbitrary type. (Note also that there's other concepts of "type" floating around in the J implementation, which I am trying to avoid stepping on here with my use of the phrase 'data type'. For example, there's syntactic type -- noun, verb, etc. Also, some languages would treat array shape as type information, though that's becoming less of a thing nowadays.) I hope this makes sense,
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
