<SeanTAllen>
could you provide example code of what you are trying to do?
patroclos has quit [Ping timeout: 252 seconds]
foofighterbar has joined #ponylang
foofighterbar has quit [Ping timeout: 240 seconds]
bimawa has joined #ponylang
mahmudov has quit [Quit: Leaving]
mahmudov has joined #ponylang
khan has quit [Ping timeout: 256 seconds]
khan 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]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
patroclos has joined #ponylang
patroclos has quit [Ping timeout: 256 seconds]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Ping timeout: 264 seconds]
khan has joined #ponylang
_andre has joined #ponylang
<Candle>
SeanTAllen: I think I know what foofighterbar is on about; my example had a fun (tag?) function in the same class as the lambda is declared. If the function is declared after the lambda, it fails with a "function not defined" error; if it is declared before the lambda, then the error message is more complicated. In my case, I was able to move the function to a separate primitive.
<vaninwagen>
yeah, i fumbled something along those lines too :)
<vaninwagen>
i need to play more with partial functions
<krig>
I've been trying to figure out how the code generated for a partial function application compares to an explicit lambda, but the LLVM IR output is quite verbose..
<vaninwagen>
krig, you could take your minimal example and compile it with --astpackage
<vaninwagen>
this will output the ast after all desugaring - also a lot, but less verbose than LLVM IR at least
<krig>
ah, interesting
mahmudov has joined #ponylang
inoas has joined #ponylang
vaninwagen has quit [Ping timeout: 256 seconds]
jemc has quit [Ping timeout: 248 seconds]
TheNet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jemc has joined #ponylang
inoas has quit [Quit: inoas]
jmiven_ has joined #ponylang
jmiven has quit [Ping timeout: 256 seconds]
<patroclos>
vaninwagen: actually atm its a mix of typescript for the vscode part and c++ for the actual language/ast specifics
inara has quit [Quit: Leaving]
inara has joined #ponylang
user10032 has quit [Quit: Leaving]
TheNet has joined #ponylang
codec1 has quit [Read error: Connection reset by peer]
TheNet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheNet has joined #ponylang
TheNet has quit [Client Quit]
TheNet has joined #ponylang
TheNet has quit [Read error: Connection reset by peer]