Matthias247 has quit [Read error: Connection reset by peer]
jemc has joined #ponylang
jemc has quit [Ping timeout: 258 seconds]
unbalanced has quit [Quit: WeeChat 1.6]
jemc has joined #ponylang
jemc has quit [Ping timeout: 248 seconds]
<TwoNotes>
Any particular reason that Options.remaining() returns Array[String ref] instead of Array[String val] ?
mvzink has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<doublec>
TwoNotes: it's returning a field which is an Array[String ref]. For it to return Array[String val] it'd have to copy the array.
<doublec>
TwoNotes: I don't see where it writes to the element in the array though so I don't know why that field is an Array[String ref]
hooo has joined #ponylang
_whitelogger_ has joined #ponylang
M-Ingo has joined #ponylang
cquinn has joined #ponylang
gornikm has joined #ponylang
bbhoss has joined #ponylang
theodus has joined #ponylang
jemc has joined #ponylang
mvzink has joined #ponylang
theodus has quit [Quit: Page closed]
theodus has joined #ponylang
amclain has joined #ponylang
paperclipbadger has joined #ponylang
paperclipbadger has quit [Client Quit]
paperclipbadger has joined #ponylang
<paperclipbadger>
Is it possible to make a tuple #share?
<paperclipbadger>
Context: I'm trying to promise a tuple, but the constraint on the parameter of Promise is Any #share.
<paperclipbadger>
I'd expect for example (U64, U64) to be val, but it doesn't appear to be. Is there some syntax to change the capability of a tuple?
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
Matthias247 has joined #ponylang
paperclipbadger has quit [Ping timeout: 260 seconds]
_andre has quit [Quit: leaving]
<TwoNotes>
doublec I notice that Env.args is an Array[String] val. Isn't that the same as Array[String val] val? Since Options is basically a reinterpretation of env.args, it seems to be it would return Array[String val] as well.
<TwoNotes>
I mention it because a 'val' is a lot easier to work with since it is portable