jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
profetes has quit [Ping timeout: 252 seconds]
nisanharamati has quit [Quit: Connection closed for inactivity]
endformationage has quit [Quit: WeeChat 2.3]
_whitelogger has joined #ponylang
srenatus has joined #ponylang
profetes_ has quit [Ping timeout: 252 seconds]
profetes has joined #ponylang
acarrico has joined #ponylang
acarrico has quit [Ping timeout: 272 seconds]
acarrico has joined #ponylang
malthe has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 240 seconds]
endformationage has joined #ponylang
travis-ci has joined #ponylang
<travis-ci> ponylang/ponyc#5512 (master - b48af2a : Malthe Borch): The build was fixed.
travis-ci has left #ponylang [#ponylang]
acarrico has joined #ponylang
travis-ci has joined #ponylang
<travis-ci> ponylang/ponyc#5513 (master - ae7d070 : Matthias Wahl): The build was broken.
travis-ci has left #ponylang [#ponylang]
srenatus has quit [Quit: Connection closed for inactivity]
<vaninwagen> profetes: i did a small function that returns a promise containing the first fulfilled value from a list of given promises: https://playground.ponylang.io/?gist=a987e67f6ae804cc256a47736704f459
<vaninwagen> Concerning your question about the general pattern of when an actor or a group of actors is finished doing their computation:
<vaninwagen> However you setup your actors doing the computation, due to the asynchronous nature of actors, they need another actor to signal when stuff is done
<vaninwagen> Promises give you kind of a rendezvous point in between, modelled with another actor, but you can also model the reporting of success/failure in a simpler way, by passing a reference to the actor to be notified
<vaninwagen> I am unsure how to abstract from this pattern, all solutions i can think of are tightly bound to the concrete problem