00:40
_whitelogger has joined #ponylang
00:48
milisarge has quit [Ping timeout: 256 seconds]
00:53
gokr has left #ponylang [#ponylang]
00:53
milisarge has joined #ponylang
01:00
zeta has joined #ponylang
01:03
zetashift has quit [Ping timeout: 256 seconds]
01:03
mahsav has joined #ponylang
01:05
milisarge has quit [Ping timeout: 256 seconds]
01:08
jwashton has joined #ponylang
01:19
jemc has quit [Ping timeout: 248 seconds]
01:26
milisarge has joined #ponylang
01:28
mahsav has quit [Ping timeout: 256 seconds]
01:49
jemc has joined #ponylang
01:58
jwashton has quit []
02:49
mahsav has joined #ponylang
02:49
nisanharamati has quit [Quit: Connection closed for inactivity]
02:50
milisarge has quit [Ping timeout: 248 seconds]
02:56
milisarge has joined #ponylang
02:59
mahsav has quit [Ping timeout: 248 seconds]
04:00
atk has quit [Quit: Well this is unexpected.]
04:08
atk has joined #ponylang
04:29
endformationage has quit [Quit: WeeChat 1.9.1]
04:43
khan has joined #ponylang
05:32
jemc has quit [Ping timeout: 255 seconds]
05:33
jemc has joined #ponylang
05:48
jemc has quit [Ping timeout: 260 seconds]
05:52
jemc has joined #ponylang
06:35
jemc has quit [Ping timeout: 276 seconds]
07:08
dubiousjim has joined #ponylang
07:19
khan has quit [Quit: khan]
07:19
khan has joined #ponylang
07:20
milisarge has quit [Ping timeout: 255 seconds]
07:23
user10032 has joined #ponylang
07:24
khan has quit [Client Quit]
07:25
khan has joined #ponylang
07:29
gokr has joined #ponylang
07:56
user10032 has quit [Remote host closed the connection]
08:45
codec1 has joined #ponylang
09:04
khan has quit [Quit: khan]
09:05
khan has joined #ponylang
09:09
khan has quit [Client Quit]
09:09
khan has joined #ponylang
09:21
khan has quit [Remote host closed the connection]
09:46
codec1 has quit [Ping timeout: 268 seconds]
09:46
milisarge has joined #ponylang
10:20
<
dubiousjim >
Could someone explain why Array/String have both concat and append methods?
10:20
<
dubiousjim >
I see the difference in their signatures, but why wouldn't it be possible to have a unified method
10:21
<
dubiousjim >
that used the codepath for ReadSeq if the argument implemented that, else fallsback to the codepath for Iterator?
10:21
<
dubiousjim >
I could only make that work using `ref` cap for the `more` argument, but someone who knows what they're
10:22
<
dubiousjim >
doing might be able to liberalize that...?
10:43
doublec has quit [Quit: leaving]
10:54
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:59
vaninwagen has joined #ponylang
11:37
_andre has joined #ponylang
11:46
dubiousjim has joined #ponylang
12:24
gokr has quit [Quit: Leaving.]
12:42
<
vaninwagen >
dubiousjim, i think one of the issues with unifying Array.concat and Array.append is that an Iterator is by default ref while a ReadSeq is box, that means it supports val and ref capabilities, an Iterator must be ref.
12:56
codec1 has joined #ponylang
13:02
<
dubiousjim >
vaninwagen: thanks, so is there any theoretical shortcoming to what's in your gist?
13:03
<
dubiousjim >
which makes the existing dual-API in the stdlib more desirable?
13:04
<
dubiousjim >
if i understand correctly, your gist gets around the issue of different caps for Iterator vs ReadSeq
13:05
<
vaninwagen >
dubiousjim, yes as it does not need to match at runtime
13:05
khan has joined #ponylang
13:05
<
vaninwagen >
dubiousjim, i don't see any shortcomings, but i am also quite distracted by now
13:06
<
vaninwagen >
i would suggest creating an RFC or RFC issue for discussion of this change
13:12
alxs has joined #ponylang
13:12
<
dubiousjim >
OK, I'll do that (sometime soonish)
13:12
<
dubiousjim >
thanks
13:18
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
13:19
vaninwagen has quit [Ping timeout: 256 seconds]
13:22
alxs has joined #ponylang
13:27
codec1 has quit [Quit: Leaving.]
13:29
gokr has joined #ponylang
13:37
<
dubiousjim >
I added a comment to your gist. I was able to get your unified function to compile inside builtin/array.pony
13:37
<
dubiousjim >
but I wasn't able to get the existing `append` and `concat` functions to be expressible in terms of it (without changing their API)
13:38
<
dubiousjim >
as I think would be desirable, if this were to be a proposed language change
13:38
<
dubiousjim >
this might be achievable, but i'm not sure atm how to do it
13:43
<
dubiousjim >
@SeanTAllen: right, thanks, i'd like to see this proposal get hashed out there...
13:43
<
dubiousjim >
but it seemed to be still on toddler legs atm
13:45
<
dubiousjim >
and since my own understanding of pony is still rudimentary, i thought i should toss what i had figured out into this discussion form
13:45
<
dubiousjim >
*forum
14:35
gokr has quit [Quit: Leaving.]
15:01
jemc has joined #ponylang
15:53
gokr has joined #ponylang
16:32
gokr has quit [Ping timeout: 240 seconds]
16:55
codec1 has joined #ponylang
16:58
mahsav has joined #ponylang
16:59
milisarge has quit [Ping timeout: 268 seconds]
17:08
nisanharamati has joined #ponylang
17:27
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:33
vaninwagen has joined #ponylang
17:35
dubiousjim has joined #ponylang
17:37
user10032 has joined #ponylang
17:41
winksaville has joined #ponylang
17:44
khan has quit [Quit: khan]
17:44
khan has joined #ponylang
17:48
khan has quit [Client Quit]
17:48
codec1 has quit [Quit: Leaving.]
17:49
khan has joined #ponylang
17:50
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
17:51
xllndr has joined #ponylang
17:56
alxs has joined #ponylang
18:01
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:03
dubiousjim has joined #ponylang
18:03
vaninwagen has quit [Ping timeout: 256 seconds]
18:12
SenasOzys has joined #ponylang
18:13
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:24
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
18:25
dubiousjim has joined #ponylang
18:29
alxs has joined #ponylang
18:36
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:40
codec1 has joined #ponylang
18:52
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
19:01
dlowe has joined #ponylang
19:16
vaninwagen has joined #ponylang
19:17
user10032 has quit [Quit: Leaving]
19:20
alxs has joined #ponylang
19:23
HarryHaaren has joined #ponylang
19:25
alxs has quit [Ping timeout: 268 seconds]
19:26
alxs has joined #ponylang
19:30
alxs has quit [Client Quit]
19:36
yunchih_ has quit [Remote host closed the connection]
19:40
mahsav has quit [Ping timeout: 248 seconds]
19:51
dgcaccam has joined #ponylang
19:58
acarrico has quit [Ping timeout: 260 seconds]
20:08
alxs has joined #ponylang
20:09
alxs has quit [Client Quit]
20:39
milisarge has joined #ponylang
20:39
xllndr has quit [Quit: Leaving]
20:57
alxs has joined #ponylang
20:58
alxs has quit [Client Quit]
20:59
khan has quit [Quit: khan]
21:02
milisarge has quit [Ping timeout: 256 seconds]
21:10
alxs has joined #ponylang
21:36
dubiousjim has joined #ponylang
21:44
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
21:49
milisarge has joined #ponylang
21:51
jmiven has quit [Quit: co'o]
21:52
jmiven has joined #ponylang
22:01
dgcaccam has quit [Ping timeout: 260 seconds]
22:01
mahsav has joined #ponylang
22:02
milisarge has quit [Ping timeout: 248 seconds]
22:18
gokr has joined #ponylang
22:37
dubiousjim has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:39
dipin has joined #ponylang
23:26
vaninwagen has quit [Ping timeout: 256 seconds]
23:27
HarryHaaren has quit [Quit: bye]
23:28
codec1 has quit [Read error: Connection reset by peer]
23:34
SenasOzys_ has joined #ponylang
23:35
SenasOzys has quit [Remote host closed the connection]
23:56
milisarge has joined #ponylang
23:58
mahsav has quit [Ping timeout: 256 seconds]