<bitcrusher>
was joe duffy's talk uploaded to qcon?
<bitcrusher>
oh it was uploaded just a lot earlier maybe..
<bitcrusher>
^that must be a bot?
<bitcrusher>
maybe not.. reddit hasn't doesn't have last week in pony.. maybe he manually posts.
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 255 seconds]
<SeanTAllen>
I stopped posting to reddit. People are free to post it if they want.
nyarum has joined #ponylang
nyarum has quit [Remote host closed the connection]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 240 seconds]
Matthias247 has quit [Read error: Connection reset by peer]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 246 seconds]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 240 seconds]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 240 seconds]
nyarum has joined #ponylang
nyarum has quit [Ping timeout: 268 seconds]
<cquinn>
quick basic question: what is the ref capability of a constant array expression?
<cquinn>
That is, if I am passing an array literal directly to a function argument, what caps are compatible with that literal so that no recover is needed.
<cquinn>
I couldn't find a section in the tutorial that discussed caps of literals.
papey_lap has quit [Quit: WeeChat 1.8]
<ada[m]>
stupid quesion: when calling a class constructor, is there a way to control the reference capability returned?
nyarum has joined #ponylang
nyarum has quit [Remote host closed the connection]
vaninwagen has joined #ponylang
<vaninwagen>
cquinn afaik it is Array[X] ref, but right, there should be a section in the tutorial, maybe in the expressions section or capabilities
<vaninwagen>
ada[m] when writing a constructor you can do ``new CAP create(...)``. afaik when calling all you can do is recover, as the actual cap is defined by the constructor
<ada[m]>
So that question came from the fact that I was trying to print a string iso without consuming it. The error message I got led me to believe that the ref I was creating wasn't an iso, so I figured I was misunderstanding ref cap construction. Turns out I wasn't; I was just looking at the wrong part of my code. Trying to work out now whether there's a way I can improve the tutorial so others don't run into same problem.
<vaninwagen>
ada[m] i also came across one or two issues where i wished there would have been some kind of a language reference next to the tutorial
<vaninwagen>
the tutorial is great, but its narrative flow introduces capabilities quite late so that they are not covered from beginning
<vaninwagen>
if there is a common interest for some kind of language reference which tries to cover everything without the educational impetus of the tutorial (and which takes most parts from the existing tutorial), i would be glad to help out
Matthias247 has joined #ponylang
vaninwagen has quit [Remote host closed the connection]
nyarum has joined #ponylang
<SeanTAllen>
ada[m]: yes.
<SeanTAllen>
new iso create() will default you to iso. Change refcap as needed to suit your needs.
Matthias247 has quit [Read error: Connection reset by peer]
nyarum has quit [Remote host closed the connection]