How to access an index of an array in a map?


How do you get an item in an array that is in a map? To give you an idea of what I’m trying to do, I tried both of the following, thought both yielded compiler errors:

ent:rumors{id, seq} := event:attrs;
ent:rumors{id}[seq] := event:attrs;


Try this:

ent:rumors{ [ id, seq ] } := event:attrs


Using hash paths to access complex structures is a very useful. Check out the documentaion at