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
zetashift has quit [Ping timeout: 245 seconds]
kiwimec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiwimec has joined #ponylang
kiwimec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiwimec has joined #ponylang
kiwimec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaro has quit [Ping timeout: 256 seconds]
pzel_ has quit [Ping timeout: 248 seconds]
pzel has joined #ponylang
pzel has quit [Ping timeout: 245 seconds]
kiwimec has joined #ponylang
kiwimec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiwimec has joined #ponylang
pzel has joined #ponylang
pzel has quit [Client Quit]
kiwimec has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endformationage has quit [Quit: WeeChat 1.9.1]
sheerluck has joined #ponylang
ponystudent has joined #ponylang
ponystudent has left #ponylang [#ponylang]
vaninwagen has joined #ponylang
khan has joined #ponylang
<vaninwagen> srenatus: thanks for the heads up. i tried to answer what i can
<emilbayes> would love to do exercism tasks to get better at pony!
<sheerluck> +1
khan has quit [Quit: khan]
khan has joined #ponylang
<srenatus> vaninwagen: thank you! (thought about trying to answer myself, but would have done a much worse job...)
khan has quit [Client Quit]
khan has joined #ponylang
SenasOzys has quit [Ping timeout: 240 seconds]
khan has quit [Quit: khan]
SenasOzys has joined #ponylang
kiwimec has joined #ponylang
kiwimec has quit [Read error: Connection reset by peer]
<SeanTAllen> Vaninwagen: the core team are the community managers
<SeanTAllen> Pony is definitely taught at imperial
<Candle> ^ Better than some of the "academic" (read, only ever used for that one course) languages taught at my uni.
<vaninwagen> SeanTAllen: can you add an answer to the exercism issue then?
<SeanTAllen> Not right now. I'm lying in bed on my phone.
<vaninwagen> whenever you like, good morning btw!
SenasOzys has quit [Ping timeout: 264 seconds]
<SeanTAllen> It's unlikely I can get to it today
<vaninwagen> SeanTAllen: i updated my answer then
<sheerluck> I want to write "for pair in zip(a, b) do" but... is there some tool to convert Collection into Something-with-has_next ?
<aturley> sheerluck can you be a little more specific about what you're trying to do?
<sheerluck> I want to zip two Strings to Iterable of Pairs of Chars
SenasOzys has joined #ponylang
<aturley> sheerluck most collections have a `values()` method that returns an iterator over the values in the collection.
<sheerluck> oh yeah right, thanks
<aturley> i think you should be able to use that and the `itertools` package to do what you want.
<sheerluck> zip[B: B]
<sheerluck> thank you
<aturley> you're welcome
<sheerluck> Iter[U32](a.runes()).zip[U32](b.runes())
<Bombe> I’m having a problem with primitives and type aliases and Equatable, I think: https://pastebin.com/Jn3wMzvU
<SeanTAllen> well there's a couple issues there
<Bombe> Not unlikely, either. :)
<SeanTAllen> to compare primitives, use `is`
<SeanTAllen> you are comparing identity
<Bombe> Ah, indeed.
<SeanTAllen> In general, if you can share playground links, its easier for folks to help. Otherwise first step is copy somewhere with a compiler like the playground.
<Bombe> Noted.
zetashift has joined #ponylang
ExtraCrispy has quit [Quit: ExtraCrispy]
vaninwagen has quit [Ping timeout: 240 seconds]
vaninwagen has joined #ponylang
khan has joined #ponylang
jmiven has quit [Quit: co'o]
jmiven has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
vaninwagen has quit [Ping timeout: 265 seconds]
<Bombe> Can I have “file-local” variables or do all variables need to be part of a class/actor?
jaro has joined #ponylang
jaro has quit [Read error: Connection reset by peer]
<aturley> Bombe everything is part of a class or actor.
<Bombe> Okay, thanks. :)
<aturley> the usual pattern for something like constants is to stick them in a primitive and have functions that return the values.
jaro has joined #ponylang
SenasOzys has quit [Ping timeout: 245 seconds]
zetashift has quit [Ping timeout: 256 seconds]
khan has joined #ponylang
khan has quit [Remote host closed the connection]
zetashift has joined #ponylang
SenasOzys has joined #ponylang
jemc has joined #ponylang
sheerluck has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
endformationage has joined #ponylang
nisanharamati has joined #ponylang
user10032 has joined #ponylang
zetashift has quit [Ping timeout: 240 seconds]
jemc has quit [Ping timeout: 276 seconds]
vaninwagen has joined #ponylang
<Bombe> Is there a way to create a List from a Seq without manually copying all the values?
<aturley> Bombe you could create a list and then `concat(...)` the values of the Seq into it.
<aturley> something like `my_list.concat(my_seq.values())`
<Bombe> Why does List not have a constructor for that? :)
<aturley> interesting question.
<Bombe> Why does Seq not have the map/filter/fold magic?
<aturley> i'm looking at `List.from(...)` and it's argument is called `seq` but it is an array so i'm wondering if it used to be a Seq and got changed for some reason.
<Bombe> I wondered about that, too…
<aturley> i think there have been discussions about why there's no map/filter/fold on seqs, but i've forgotten the reasoning there.
<Bombe> This is my current battlefield. :)
<Bombe> That is harder (and way uglier) than I feel it needs to be…
<vaninwagen> from my experience what makes it a little ugly to read working with lambdas, collections and itertools is missing generic inference in pony
zetashift has joined #ponylang
nisanharamati has quit []
<vaninwagen> i wrote a thing about getting some coverage for your pony program: https://blog.m7w3.de/pony-coverage.html
jemc has joined #ponylang
<SeanTAllen> howdy jemc!
winksaville has quit [Ping timeout: 260 seconds]
_andre has quit [Quit: leaving]
vaninwagen has quit [Quit: WeeChat 2.1]
jemc has quit [Ping timeout: 264 seconds]
user10032 has quit [Quit: Leaving]
zetashift has quit [Quit: Leaving]
droman has joined #ponylang