<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.
<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>
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