samuell has quit [Remote host closed the connection]
samuell has joined #ponylang
jonrh has quit [Ping timeout: 255 seconds]
<SeanTAllen>
bdari: i'm not sure what you mean by "push messaging".
Matthias247 has quit [Read error: Connection reset by peer]
Matthias247 has joined #ponylang
jonrh has joined #ponylang
kulibali has joined #ponylang
acarrico has joined #ponylang
jjpx has joined #ponylang
Praetonus has joined #ponylang
endformationage has joined #ponylang
vaninwagen has joined #ponylang
hobomatic has joined #ponylang
<hobomatic>
@SeanTAllen: on the 8th I wrote something here about there being no string() on Array[], and no good way of puting a constraint on a type parameter for some rank2 time, like Array[A]. And your response was that "thats because an array might not be stringable". My 4 day later response is: yes, but if you constrained the type variable, like in Arrayt[Stringable], that could not happen. My expectation was that the method would only exist for
<hobomatic>
Array[Stringable], since there would be a constraint on the reciever.
<hobomatic>
the expectation is coming from prior experience with languages with both generics, and methods where the reciever is an explicit parameter
<SeanTAllen>
Pony currently has no way expressing that one a class. You can use a fun on a primitive that takes an Array[Stringable]
<SeanTAllen>
if you would interested, you could open an RFC about syntax for how to add to classes directly
<hobomatic>
yeah, I will probably do that, I just wanted to make sure the idea that lead to the expectation was understood
<hobomatic>
yes, specialization was another usecase that was rattling around in my head
<hobomatic>
that seems like a much more interesting way of doing it than I was thinking of.
jjpx has quit [Ping timeout: 248 seconds]
<hobomatic>
yeah I am starting to sweat just thinking of all of the ambiguity between case functions, iftype and ... what looks like its trying to be dependently typed pattern guards?
<hobomatic>
well, dependently typed guards.. for case functions
jjpx has joined #ponylang
acarrico has joined #ponylang
<endformationage>
I think I may've found a clue to my strange array behavior. Perhaps it has something to do with how constructors work? Please take a look here: