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