how can send elements of list 1 one, original process process through message passing in erlang?
you use list comprehension. example, assume pid
represents target process, , list
list elements want send pid
:
[pid ! element || element <- list]
Comments
Post a Comment