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
atk has quit [Quit: Well this is unexpected.]
atk 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 [Client Quit]
khan has joined #ponylang
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
<SeanTAllen> not sure what you mean foofighterbar
<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.
* Candle attempts to create an example.
khan has quit [Ping timeout: 276 seconds]
khan has joined #ponylang
khan has quit [Ping timeout: 264 seconds]
meara has joined #ponylang
meara has left #ponylang [#ponylang]
khan has joined #ponylang
<SeanTAllen> Interesting. That seems like a bug but I'm not sure @Candle
mahtob has joined #ponylang
mahmudov has quit [Ping timeout: 248 seconds]
khan has quit [Quit: khan]
khan has joined #ponylang
gokr has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
<Candle> SeanTAllen: It certainly limits what you can do within a lambda.
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
<krig> interesting.. this variant compiles but prints nothing: http://playground.ponylang.org/?gist=fe124610c9d0b55e6b563b2c32df760b
gokr has quit [Ping timeout: 240 seconds]
mahtob is now known as mahmudov
khan has quit [Quit: khan]
khan has joined #ponylang
gokr has joined #ponylang
codec1 has joined #ponylang
foofighterbar has joined #ponylang
codec1 has quit [Ping timeout: 248 seconds]
jemc has joined #ponylang
foofighterbar has quit [Ping timeout: 248 seconds]
foofighterbar has joined #ponylang
foofighterbar has quit [Client Quit]
codec1 has joined #ponylang
khan has quit [Quit: khan]
endformationage has joined #ponylang
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
endformationage has quit [Ping timeout: 260 seconds]
endformationage has joined #ponylang
TheNet has joined #ponylang
wink_ has joined #ponylang
gokr has quit [Ping timeout: 256 seconds]
_andre has quit [Quit: leaving]
dougmacdoug has joined #ponylang
gokr has joined #ponylang
TheNet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patroclos has joined #ponylang
TheNet has joined #ponylang
codec1 has quit [Quit: Leaving.]
TheNet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheNet has joined #ponylang
user10032 has joined #ponylang
codec1 has joined #ponylang
mahmudov has quit [Ping timeout: 276 seconds]
khan has quit [Quit: khan]
nisanharamati has joined #ponylang
vaninwagen has joined #ponylang
<vaninwagen> krig, yeah seems confusing at first. with https://playground.ponylang.org/?gist=fe124610c9d0b55e6b563b2c32df760b your lambda returns a partially applied function, it is not actually calling _do_something
<vaninwagen> this one https://playground.ponylang.org/?gist=39bc9eded209a55179fa22f8bcfb0396 takes the partially applied function an passes it as a callback. nice examples.
<vaninwagen> patroclos skimming through the irc logs, i have to admit that i am pretty excited about your language server! is it written in pony?
<SeanTAllen> i believe he said he was going to do TypeScript
<SeanTAllen> vaninwagen: ^
<vaninwagen> ahhh!
<krig> vaninwagen: yeah, it's not entirely relevant to the question about lambda, but I managed to confuse myself.. I got this train of thought down to a smaller version: http://playground.ponylang.org/?gist=074823676b940782cc3be01958b34f24
<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]
TheNet has joined #ponylang
dougmacdoug has quit [Quit: dougmacdoug]
gokr has quit [Ping timeout: 240 seconds]