[erlang-questions] array:set

Donald Steven <>
Sun Mar 3 13:55:43 CET 2019


Apparently, array:set can only be used on one index at a time, as in:  
array:set(?TRACK1, Track1, Sounds),


I'd like to do the equivalent of (I made up the syntax): 
array:set(?TRACK1, Track1; ?TRACK2, Track2, ...; Sounds),


Is my only option a recursive function making 2 lists and then going 
through them using hd(), tl()?



More information about the erlang-questions mailing list