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
Praetonus has quit [Quit: Leaving]
bitcrusher has joined #ponylang
nisanharamati has quit []
jemc has joined #ponylang
jemc has quit [Quit: WeeChat 1.9]
jemc has joined #ponylang
Bombe has quit [Ping timeout: 255 seconds]
Bombe has joined #ponylang
jemc has quit [Ping timeout: 260 seconds]
endforma1 has quit [Ping timeout: 260 seconds]
dipin has quit [Quit: dipin]
samuell has joined #ponylang
vaninwagen has joined #ponylang
clint__ has joined #ponylang
clint_ has quit [Ping timeout: 252 seconds]
clint__ has quit [Ping timeout: 252 seconds]
clint_ has joined #ponylang
clint_ has quit [Ping timeout: 246 seconds]
clint_ has joined #ponylang
clint__ has joined #ponylang
clint_ has quit [Ping timeout: 252 seconds]
clint__ has quit [Ping timeout: 240 seconds]
clint_ has joined #ponylang
clint_ has quit [Ping timeout: 264 seconds]
clint_ has joined #ponylang
clint__ has joined #ponylang
clint_ has quit [Ping timeout: 252 seconds]
clint__ has quit [Ping timeout: 240 seconds]
clint_ has joined #ponylang
clint__ has joined #ponylang
clint_ has quit [Ping timeout: 252 seconds]
clint_ has joined #ponylang
clint__ has quit [Ping timeout: 248 seconds]
codec_ has joined #ponylang
<codec_> Hi
<codec_> new day, new newbie questions
<codec_> Currently I have doing the advent of code 2015 with pony to get more familiar with the language
<codec_> I managed to do day 3 yesterday but ran on a few "pain points" and I would like to know if they are way to smooth them
<codec_> 1- Sometime to debug, I would like to print debug log but for that I have to pass around the Env, so is there a "unsafe" way to grab it so I don't have to do that ?
<codec_> 2-Is there a way to derive structural equality and clonability in simple way, or Have I to code myself the functions for each class?
<codec_> 3-Can I add generic constraint to functions and not class|primitive?
<vaninwagen> codec_, hi! :) let me try to answer your questions
<vaninwagen> 1. have you tried https://stdlib.ponylang.org/debug-Debug/ ? It does some C printf stuff afaik and no Env is needed. Those calls are only enabled for debug compilation
<vaninwagen> 2. afaik not, you have to do it yourself. good point for improvements.
<vaninwagen> 3. yes, you can do that. here is an example from the stdlib https://github.com/ponylang/ponyc/blob/master/packages/itertools/iter.pony#L92
<codec_> thanks, will try that
Praetonus has joined #ponylang
_andre has joined #ponylang
MaybeDragon has joined #ponylang
clint__ has joined #ponylang
sarna has joined #ponylang
clint_ has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
Praetonus has quit [Ping timeout: 258 seconds]
Praetonus has joined #ponylang
vaninwagen has quit [Ping timeout: 255 seconds]
vaninwagen has joined #ponylang
vaninwagen has quit [Ping timeout: 240 seconds]
codec_ has quit [Ping timeout: 260 seconds]
sarna has quit [Quit: Connection closed for inactivity]
dipin has joined #ponylang
sarna has joined #ponylang
user10032 has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
jemc has joined #ponylang
nisanharamati has joined #ponylang
dipin has quit [Quit: dipin]
mindB has quit [Ping timeout: 240 seconds]
irx[m] has quit [Ping timeout: 246 seconds]
ada[m] has quit [Ping timeout: 246 seconds]
M-hrjet has quit [Ping timeout: 246 seconds]
dtz has quit [Ping timeout: 252 seconds]
srenatus has quit [Ping timeout: 276 seconds]
abeaumont has quit [Ping timeout: 240 seconds]
MaybeDragon has quit [Quit: Leaving]
sarna has quit [Quit: Connection closed for inactivity]
vaninwagen has joined #ponylang
dipin has joined #ponylang
abeaumont has joined #ponylang
clint_ has joined #ponylang
clint__ has quit [Read error: Connection reset by peer]
vaninwagen has quit [Ping timeout: 252 seconds]
samuell has quit [Quit: Leaving]
nisanharamati has quit []
irx[m] has joined #ponylang
user10032 has quit [Quit: Leaving]
clint_ has quit []
M-hrjet has joined #ponylang
ada[m] has joined #ponylang
mindB has joined #ponylang
srenatus has joined #ponylang
dtz has joined #ponylang
Praetonus has quit [Quit: Leaving]
jemc has quit [Ping timeout: 264 seconds]