Tables: lists and maps
E's variations on the traditional array and hashtable. Coordinate Spaces: positions, regions, twistersAbstract geometry for symbolic spaces with locality. Collections Other Than Tables and SpacesTables and Spaces exist solely order to be collections. There are other objects that exist for other purposes, but that also act in some ways like collections. For example, File-objects that represent directories map from local file names to the files or directories found by those names in that directory.
? pragma.syntax("0.8") ? def ehomeDir := <file>[interp.getProps()["e.home"]] # value: <file:c:/Program Files/erights.org/> ? ehomeDir["eprops-template.txt"].length() # value: 13845 The one operation E collections generally have in common is the for loop, in both the iterate-over-values form and the iterate-over-key-value-pairs form.
Further documentation on collections other than Tables and Spaces -- like directories -- are found in their respective sections. |
|||||||||||||||||||
| Unless stated otherwise, all text on this page which is either unattributed or by Mark S. Miller is hereby placed in the public domain.
|
|||||||||||||||||||