Collections module for ESL

new topic     » topic index » view thread      » older message » newer message

I would like to suggest a 'collections.e' module for the ESL.

I think it would be extremely useful to have hash tables, sets,
record tables etc.

Hash tables would be implemented as sets of key/value pairs e.g. ...
{"name","age","eye color",{"Joe Bloggs",54,"blue"))

Sets would be sequences that could not contain duplicate values and
would ignore attempts to 'append', 'prepend' or otherwise insert any
duplicates values

Record tables would be for large 'arrays' of identical records whose
fields are designated by their position in the record (I use this
kind of functionality very often, when a full DB solution would be
overkill). They could look like this ...
{"name","age","eye color",{{"Joe Bloggs",54,"blue"),{"Fred X",41,"green"} ... }

Gordon

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu