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
atk has quit [Quit: Well this is unexpected.]
atk has joined #ponylang
montanonic has quit [Ping timeout: 260 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
jtfmumm- has joined #ponylang
mvzink has quit [Ping timeout: 260 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 245 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 244 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 250 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 256 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 265 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 260 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 265 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 250 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 256 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
Praetonus has joined #ponylang
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 250 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 265 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 244 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 256 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 265 seconds]
Praetonus has quit [Ping timeout: 256 seconds]
montanonic has joined #ponylang
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 260 seconds]
_andre has joined #ponylang
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 256 seconds]
notwas has joined #ponylang
mvzink has joined #ponylang
<notwas> hello
mvzink has quit [Ping timeout: 265 seconds]
mvzink has joined #ponylang
notwas has quit [Quit: Page closed]
mvzink has quit [Ping timeout: 244 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 250 seconds]
montanonic has quit [Ping timeout: 250 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 265 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 260 seconds]
dinfuehr has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ponylang
srenatus[m] has quit [Ping timeout: 258 seconds]
M-hrjet has quit [Ping timeout: 250 seconds]
srenatus[m] has joined #ponylang
M-hrjet has joined #ponylang
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 260 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 265 seconds]
mvzink has joined #ponylang
mvzink has quit [Ping timeout: 252 seconds]
mvzink has joined #ponylang
jemc has joined #ponylang
Praetonus has joined #ponylang
mcguire2 has quit [Ping timeout: 250 seconds]
mcguire has joined #ponylang
amclain has joined #ponylang
notwas has joined #ponylang
<notwas> fun ref shift(): A^ ? can somebody please explain this return type? Is there some documentation available somewhere?
<SeanTAllen> the A is from the generic
<SeanTAllen> I assume you are refering to the ^, is that correct notwas ?
<SeanTAllen> if you check the symbol cheatsheet in the tutorial: https://tutorial.ponylang.org/appendices/symbol-lookup-cheatsheet.html
<SeanTAllen> you'll see it says to search for "Ephemeral"
<SeanTAllen> which leads you to "Aliasing": https://tutorial.ponylang.org/capabilities/aliasing.html
<SeanTAllen> the symbol cheatsheet can help for things like that
<SeanTAllen> The ^ means its ephemeral. This is important with `trn` and `iso` types. If you generic type was "Foo iso" then without that ^, your return type would be an alias to an `iso` which isn't something you can use.
graaff has joined #ponylang
Matthias247 has joined #ponylang
irx[m] has quit [Ping timeout: 258 seconds]
M-Ingo has quit [Ping timeout: 258 seconds]
M-hrjet has quit [Ping timeout: 256 seconds]
srenatus[m] has quit [Ping timeout: 256 seconds]
<notwas> @SeanTallen: thanks alot for this explanations.
<notwas> After reading the section about aliasing, I fear it will take a longer time until I not only understand this concepts but also actually use them
<notwas> In the meantime I'd like to learn ponylang simply as a general purpose language. So it would be nice to have more reading material as how to use ponylang as your everyday practical programming language.
irx[m] has joined #ponylang
<notwas> For one, it would be nice to have some more documentation about collections.
M-Ingo has joined #ponylang
M-hrjet has joined #ponylang
srenatus[m] has joined #ponylang
graaff has quit [Quit: Leaving]
amclain has quit [Quit: Leaving]
rurban has joined #ponylang
<SeanTAllen> Safely sharing data (aka refcaps and aliasing) are at the core of Pony so you can't avoid it. Its a matter of getting used to thinking about those problems, designing your applications accordingly and then figuring out what the compiler is telling you. For some people, it comes pretty quick and natural, for others it takes a lot more time.
<SeanTAllen> notwas: What does "simple as a general purpose language" mean?
rurban has left #ponylang [#ponylang]
notwas has quit [Ping timeout: 260 seconds]
trapped has joined #ponylang
amclain has joined #ponylang
trapped has quit [Read error: Connection reset by peer]
trapped has joined #ponylang
<jemc> notwas: have you seen the `examples` directory in the ponyc repo?
<jemc> it contains small easy-to-digest example programs to demonstrate some simple concepts or solve simple problems
<jemc> regarding the `^` notation (known lovingly as "hat") - doublec has a very good blog post on the subject called "Bang, Hat, and Arrow in Pony" https://bluishcoder.co.nz/2016/05/04/bang-hat-and-arrow-in-pony.html
<jemc> understanding how generics are implemented ends up being one of the more advanced topics in Pony, but using generics (like collections) is much simpler and doesn't necessarily require you to understand the inner workings og generics
Praetonus has quit [Quit: Leaving]
trapped has quit [Read error: Connection reset by peer]
montanonic has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
rurban has joined #ponylang