Talk:Array model: Difference between revisions

Jump to navigation Jump to search
539 bytes added ,  20:46, 3 September 2022
no edit summary
mNo edit summary
No edit summary
Line 8: Line 8:


::The inconsistency I see is in "arrays may be considered to be homogeneous because all of their elements have the same type", here elements must refer to 0-cells, as this statement cannot apply, for example, to the array 'abc' (1 2 3). The elements ("things inside a 0-cell") are not of the same type. --[[User:Awagga|Faun]] ([[User talk:Awagga|talk]]) 19:49, 3 September 2022 (UTC)
::The inconsistency I see is in "arrays may be considered to be homogeneous because all of their elements have the same type", here elements must refer to 0-cells, as this statement cannot apply, for example, to the array 'abc' (1 2 3). The elements ("things inside a 0-cell") are not of the same type. --[[User:Awagga|Faun]] ([[User talk:Awagga|talk]]) 19:49, 3 September 2022 (UTC)
:::The next sentence explains this to mean that both elements have the type "array". The property that differs is the so-called "element type", which is more of an implementation thing than part of the language. I don't know if there actually is a formal meaning of "type" in the nested world ([[Type]] isn't it), so this is an informal usage. And I also don't think it's really a crucial point to make, so if it's unclear then it could be removed. --[[User:Marshall|Marshall]] ([[User talk:Marshall|talk]]) 20:46, 3 September 2022 (UTC)

Navigation menu