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
smoon has joined #ponylang
<SeanTAllen> 0.13.0 has been released. Upgrading is recommended: https://www.ponylang.org/blog/2017/04/0.13.0-released/
chemist69 has quit [Ping timeout: 256 seconds]
chemist69 has joined #ponylang
chemist69 has quit [Ping timeout: 240 seconds]
chemist69 has joined #ponylang
jemc has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
smoon has quit [Quit: smoon]
limitingfactor has quit [Ping timeout: 260 seconds]
rurban has joined #ponylang
rurban has quit [Client Quit]
graaff has joined #ponylang
jemc has joined #ponylang
gmcabrita has quit [Quit: Connection closed for inactivity]
jemc has quit [Ping timeout: 260 seconds]
rurban has joined #ponylang
smoon has joined #ponylang
smoon has quit [Client Quit]
earnestly has joined #ponylang
Matthias247 has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
Matthias247 has joined #ponylang
gmcabrita has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
_whitelogger has joined #ponylang
mrkishi has quit [Ping timeout: 240 seconds]
TwoNotes has joined #ponylang
TwoNotes has left #ponylang [#ponylang]
Vexis has joined #ponylang
jemc has joined #ponylang
smoon has joined #ponylang
jemc has quit [Quit: WeeChat 1.4]
jemc has joined #ponylang
Vexis has quit [Quit: Bye]
smoon has quit [Quit: smoon]
smoon has joined #ponylang
aav has joined #ponylang
<SeanTAllen> As we work out DNS, standard library docs are temporarily at http://stdlib.netlify.com
graaff has quit [Quit: Leaving]
jemc has quit [Ping timeout: 264 seconds]
<smoon> Does `Array` support random access?
<smoon> for indices? didn't see anything in the docs or the tutorial
<Bombe> It would be very unusual for an array data type to not support random access.
<smoon> Sorry, I meant random accessing of a value by index. I noticed `List` had an `index` function, but it doesn't look like `Array` does
<smoon> but i could be missing something...
<smoon> ahhh i see, it's called `apply` for the array
<aav> smoon: and 'apply' is the "default" function. you can call it directly on the object
<smoon> that makes more sense! thanks aav
Matthias247 has joined #ponylang
<SeanTAllen> smoon: question. and i want to preface with "this is not a dick RTFM question". i'm working on improving how we teach Pony. What had you done where you ended up with the Array question? Had you looked at the standard library docs either locally or online? Did you know they existed to be looked at? Did you look at them but didn't see an obvious answer in the
<SeanTAllen> description of Array? I'd love to learn more about your process when you encounter problems while you are learning. So, starting point this question. And if you are game, I'd love if you'd email me when you run into problems learning something with what is giving you trouble and what you have looked at so far to try and solve.
<smoon> @SeanTAllen Yeah, no problem! I was reading both the Array class and the List class in the reference (http://ponylang.github.io/ponyc/builtin-Array/#array91a-a93), but my brain skipped over the 'apply' function since it didn't seem like an accessor. When I looked at List, it had an 'index' function which jumped out at me.
<smoon> So it was my lack of knowledge of apply being being the default function of a object
<SeanTAllen> Yeah, that could be a bad assumption in documentation. I think its something that would make sense to highlight or even better, as it is the "most common thing you would do", it needs to be highlighted in the examples
<SeanTAllen> Ah
<SeanTAllen> and array has no descriptive text or examples at all
<SeanTAllen> yeah that would be a problem
<smoon> an object* which is probably my fault entirely, I didn't read the tutorial in depth
<SeanTAllen> smoon: when you hit problems like this, please email me so I can work em out
<SeanTAllen> no no
<SeanTAllen> that is not at all your fault
<SeanTAllen> i thought i had written documentation for array. high level docs
<SeanTAllen> but there arent any
<SeanTAllen> that would be a problem
<SeanTAllen> please do email me when you run into problems like that so i can ask questions
<SeanTAllen> this already
<SeanTAllen> BOOM
<SeanTAllen> there's a thing I thought was documented thta isnt
<SeanTAllen> thank you smoon!
<smoon> i think a public wiki like cppreference would be great so people can contribute to the docs as things pop-up
<SeanTAllen> free eyes are so helpful
<smoon> i know ponylang is a lot smaller of a language, but for C++ there's cppreference http://en.cppreference.com/w/cpp/container/array
<SeanTAllen> so those docs
<SeanTAllen> are generated from the source
<smoon> ahhh i see
<SeanTAllen> so opening a PR to improve them ends up there
<SeanTAllen> that said, unless you end up on part of the website, you might not know that
<SeanTAllen> SO...
<SeanTAllen> that should be added to what is online as well
<SeanTAllen> smoon: i opened 2 issues already
<SeanTAllen> which i can address at some point or someone else can
<smoon> thanks a lot!
<SeanTAllen> so ya, please do shoot me issues when you run into them
<SeanTAllen> the docs are in much better shape than last year but we can do much more
Matthias247 has quit [Read error: Connection reset by peer]
jemc has joined #ponylang
jemc has quit [Ping timeout: 246 seconds]
<earnestly> SeanTAllen: As a more general question, what sort of domain is pony aiming at?
smoon has quit [Quit: smoon]
<SeanTAllen> earnestly: highly concurrent apps where having a runtime isn't a drawback
<earnestly> SeanTAllen: A bit like erlang without the distributed capabilities, or go?
smoon has joined #ponylang
vaninwagen has joined #ponylang
smoon has quit [Quit: smoon]
vaninwagen has quit [Ping timeout: 260 seconds]
<SeanTAllen> They are all different languages
<SeanTAllen> I wouldn't want to compare them based on what I said
<SeanTAllen> Pony will end up focused on the domains that its users focus on
vaninwagen has joined #ponylang
<vaninwagen> hi everybody, i have some small problems with array literals and wanted to ask if this is expected/known behaviour? https://gist.github.com/mfelsche/75f131df83d2546d25128ba4bc2f201e
<SeanTAllen> You need to define the type of the right hand side
<SeanTAllen> It's being inferred as a union of two types
<SeanTAllen> Not the 3 you are assigning to
vaninwagen has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ponylang
jemc has joined #ponylang
rurban has quit [Quit: Leaving.]
earnestly has quit [Ping timeout: 240 seconds]
Vexis has joined #ponylang
<Vexis> What specifically is Pony good for? If it had a niche, what would it be?
Matthias247 has joined #ponylang
Vexis has quit [Remote host closed the connection]
Vexis has joined #ponylang