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
aturley has quit [Quit: aturley]
aturley has joined #ponylang
aturley has quit [Client Quit]
acarrico has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
aturley has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
nisanharamati has quit [Quit: Connection closed for inactivity]
aturley has quit [Quit: aturley]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
jemc has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
jemc has quit [Ping timeout: 260 seconds]
jemc has joined #ponylang
inara has quit [Quit: Leaving]
khan has quit [Quit: khan]
khan has joined #ponylang
inara has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
sternmull has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
sternmull has quit [Ping timeout: 264 seconds]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
goughy has quit [Quit: WeeChat 2.0.1]
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
gokr has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
vaninwagen_ has joined #ponylang
khan has quit [Client Quit]
gokr has left #ponylang [#ponylang]
vaninwagen_ has quit [Ping timeout: 240 seconds]
codec1 has joined #ponylang
brainproxy has quit [Ping timeout: 264 seconds]
bimawa1 has joined #ponylang
bimawa has quit [Ping timeout: 248 seconds]
brainproxy has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
sternmull has joined #ponylang
brainproxy has joined #ponylang
khan has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
sternmull has quit [Ping timeout: 240 seconds]
qh has joined #ponylang
_andre has joined #ponylang
inoas has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
qh has quit [Quit: Page closed]
brainproxy has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
aturley has joined #ponylang
aturley has quit [Client Quit]
SenasOzys_ has quit [Read error: Connection reset by peer]
SenasOzys has joined #ponylang
brainproxy has joined #ponylang
alxs has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
alxs has joined #ponylang
SenasOzys has quit [Ping timeout: 256 seconds]
jemc has joined #ponylang
SenasOzys has joined #ponylang
aturley has joined #ponylang
sternmull has joined #ponylang
Praetonus has joined #ponylang
brainproxy has quit [Ping timeout: 268 seconds]
brainproxy has joined #ponylang
sternmull has quit [Ping timeout: 260 seconds]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
gokr has joined #ponylang
brainproxy has quit [Ping timeout: 248 seconds]
brainproxy has joined #ponylang
alxs has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
brainproxy has quit [Ping timeout: 264 seconds]
brainproxy has joined #ponylang
Guest88264 has quit [Remote host closed the connection]
percival has joined #ponylang
percival has quit [Remote host closed the connection]
percival has joined #ponylang
percival has quit [Remote host closed the connection]
percival2 has joined #ponylang
percival2 is now known as percival
percival is now known as Guest88353
brainproxy has quit [Ping timeout: 256 seconds]
alxs has joined #ponylang
brainproxy has joined #ponylang
nisanharamati has joined #ponylang
gokr has quit [Quit: Leaving.]
sternmull has joined #ponylang
inoas has quit [Ping timeout: 260 seconds]
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
brainproxy has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
ondreian has joined #ponylang
alxs has joined #ponylang
brainproxy has quit [Ping timeout: 276 seconds]
brainproxy has joined #ponylang
<ondreian> So I'm trying to grok reference capabilities, I figured out how to fix the Rainbow example and I thought making a generic Registry Actor might be a good next step.
<ondreian> But I'm rather lost on why the compiler is complaining
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
inoas has joined #ponylang
inoas has quit [Client Quit]
alxs has joined #ponylang
<aturley> ondreian the first two errors are because the lambdas themselves need to have a ref cap of `tag`.
inoas has joined #ponylang
<aturley> line 7 should be `be fetch(key: String, cb: ({tag (T)} tag))`
<aturley> well, it doesn't have to be `tag`, but something sendable.
<aturley> same with line 10.
<ondreian> ah ok that makes sense
inoas has quit [Client Quit]
user10032 has joined #ponylang
<aturley> ondreian can you constrain the type of `T` to always be `tag`? you'd change line 4 to `actor Registry[T: Any tag]`
<ondreian> Sure, I guess that works. It's just a Registry of Actors anyway.
<ondreian> Though I would have liked to be able to generalize it to something like `Registry[Array[String]]`
<aturley> then you wouldn't have to say `T tag` everywhere.
ybden has joined #ponylang
<aturley> one thing to keep in mind is that you're inherently going to need to limit the reference capabilities of the objects that come through the behaviors, because those ref caps will need to be something sendable.
<ondreian> you mean the objects that are returned, not the parameters that are sent to a behavior, correct?
<ondreian> i'm using "returned" loosely here, since i'm actually using a callback
<Praetonus> ondreian: Every object sent in a message must be sendable, and since behaviour calls are message sends, their parameters must be sendable
codec1 has quit [Ping timeout: 268 seconds]
brainproxy has quit [Ping timeout: 268 seconds]
ondreian has quit [Ping timeout: 260 seconds]
<jemc> yeah, there's basically no way to get an object reference from one actor to another unless that reference is "sendable" (safe to send) - this is basically the core of what reference capabilities are designed to do
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
brainproxy has joined #ponylang
brainproxy has quit [Ping timeout: 268 seconds]
Praetonus has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
Praetonus has joined #ponylang
izabera has left #ponylang ["WeeChat 1.9.1"]
khan has quit [Quit: khan]
khan has joined #ponylang
alxs has joined #ponylang
Guest88353 has quit [Remote host closed the connection]
alxs has quit [Client Quit]
codec1 has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
brainproxy has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
brainproxy has quit [Ping timeout: 276 seconds]
gokr has joined #ponylang
SenasOzys has quit [Ping timeout: 240 seconds]
alxs has joined #ponylang
brainproxy has joined #ponylang
alxs has quit [Client Quit]
SenasOzys has joined #ponylang
Praetonus has quit [Ping timeout: 240 seconds]
user10032 has quit [Quit: Leaving]
endformationage has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
Praetonus has joined #ponylang
brainproxy has quit [Ping timeout: 264 seconds]
aturley has quit [Quit: aturley]
jemc has quit [Ping timeout: 246 seconds]
Praetonus has quit [Quit: Leaving]
sternmull has quit [Ping timeout: 240 seconds]
brainproxy has joined #ponylang
alxs has joined #ponylang
_andre has quit [Quit: leaving]
alxs has quit [Client Quit]
alxs has joined #ponylang
alxs has quit [Client Quit]
inoas has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
inoas has quit [Quit: inoas]
alxs has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
codec1 has joined #ponylang
gokr has quit [Ping timeout: 268 seconds]
codec1 has quit [Read error: Connection reset by peer]