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
Zarutian has quit [Quit: Zarutian]
amclain has joined #ponylang
jemc has quit [Ping timeout: 244 seconds]
amclain has quit [Quit: Leaving]
c355e3b has quit [Quit: Connection closed for inactivity]
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
Perelandric has quit [Ping timeout: 250 seconds]
copy` has quit [Quit: Connection closed for inactivity]
graaff has joined #ponylang
SilverKey has joined #ponylang
SilverKey has quit [Quit: Halted.]
mrkishi has quit [Read error: Connection reset by peer]
srenatus has joined #ponylang
hibnico has joined #ponylang
trapped has joined #ponylang
trapped has quit [Read error: Connection reset by peer]
Applejack_ has joined #ponylang
hibnico has quit [Quit: hibnico]
hibnico has joined #ponylang
SilverKey has joined #ponylang
tm-exa has joined #ponylang
hibnico has quit [Quit: hibnico]
SilverKey has quit [Quit: Halted.]
_andre has joined #ponylang
hibnico has joined #ponylang
c355e3b has joined #ponylang
Perelandric has joined #ponylang
mrkishi has joined #ponylang
SilverKey has joined #ponylang
trapped has joined #ponylang
trapped has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
jemc has joined #ponylang
SilverKey has quit [Quit: Halted.]
Applejack_ has quit [Ping timeout: 252 seconds]
SilverKey has joined #ponylang
Applejack_ has joined #ponylang
runehog has quit [Remote host closed the connection]
prettyvanilla has quit [Quit: Konversation terminated!]
hibnico has quit [Quit: hibnico]
amclain has joined #ponylang
paperclipbadger1 has joined #ponylang
paperclipbadger1 has left #ponylang [#ponylang]
_andre has quit [Ping timeout: 244 seconds]
paperclipbadger has joined #ponylang
<paperclipbadger> https://gist.github.com/PaperclipBadger/28a4bda56934a392cf23587169153235 Is there a reason I can't partially apply a ref method?
michael_campbell has joined #ponylang
<SeanTAllen> change fun tag apply to fun ref apply
<paperclipbadger> Whoops. Should have been fun ref in the first place.
<paperclipbadger> Problem still holds even with fun ref apply.
_andre has joined #ponylang
SilverKey has quit [Quit: Halted.]
michael_campbell has quit [Quit: michael_campbell]
SilverKey has joined #ponylang
<doublec> paperclipbadger: what error are you getting
<doublec> paperclipbadger: you can't call () on Bar because Bar is a tag and () is a ref fun
<doublec> paperclipbadger: basically you can't do what you want - you are trying to call functions on an actor that modify the state
<doublec> paperclipbadger: you need to make them behaviours
<paperclipbadger> My copy/paste skills are dreadful -_-
<paperclipbadger> Bar should be a class, not an actor.
<doublec> paperclipbadger: see http://pastebin.com/NKxZdrSa
<doublec> paperclipbadger: ok, change Bar to class, and "be apply" to "fun ref apply" in my paste
<paperclipbadger> That gives me the error in the gist description.
<paperclipbadger> ref method is not a subtype of box method
<doublec> paperclipbadger: paste exactly what you have
<doublec> paperclipbadger: did you change {()} to {ref()}
<paperclipbadger> No, didn't spot that.
<paperclipbadger> Ah, that fixes the issue, thank you :)
<doublec> np
<doublec> capabilities tend to cascade once you change one :)
<paperclipbadger> Where's the best place to go for documentation on this sort of thing?
<doublec> for capabilities, the capabilities part of the tutorial
<doublec> paperclipbadger: I have some posts here that might help https://bluishcoder.co.nz/tags/pony/
<doublec> the closures one explains the {ref()}
copy` has joined #ponylang
<doublec> this is a good one for reference capabilities http://jtfmumm.com/blog/2016/03/06/safely-sharing-data-pony-reference-capabilities/
<paperclipbadger> Thanks :) Couldn't find anything in the tutorial about type signiatures for lambdas / partial application.
Applejack_ has quit [Ping timeout: 240 seconds]
<doublec> paperclipbadger: see http://tutorial.ponylang.org/expressions/object-literals.html for the tutorial part on lambdas
<paperclipbadger> doublec: Thanks!
<doublec> np, have fun :)
SilverKey has quit [Quit: Halted.]
copy` has left #ponylang [#ponylang]
runehog has joined #ponylang
michael_campbell has joined #ponylang
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
SilverKey has joined #ponylang
SilverKey has quit [Client Quit]
SilverKey has joined #ponylang
tm-exa has quit [Quit: Computer has gone to sleep]
SilverKey has quit [Client Quit]
graaff has quit [Quit: Leaving]
Zarutian has joined #ponylang
michael_campbell has quit [Remote host closed the connection]
michael_campbell has joined #ponylang
tm-exa has joined #ponylang
SilverKey has joined #ponylang
SilverKey has quit [Quit: Halted.]
SilverKey has joined #ponylang
srenatus has quit [Quit: Connection closed for inactivity]
Applejack_ has joined #ponylang
SilverKey has quit [Read error: Connection reset by peer]
SilverKey has joined #ponylang
tm-exa has quit [Quit: Computer has gone to sleep]
michael_campbell has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tm-exa has joined #ponylang
michael_campbell has joined #ponylang
SilverKey has quit [Quit: Halted.]
tm-exa has quit [Quit: Computer has gone to sleep]
michael_campbell has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michael_campbell has joined #ponylang
SilverKey has joined #ponylang
tm-exa has joined #ponylang
_andre has quit [Quit: leaving]
SilverKey has quit [Quit: Halted.]
tm-exa has quit [Quit: Computer has gone to sleep]
SilverKey has joined #ponylang
tm-exa has joined #ponylang
SilverKey has quit [Quit: Halted.]
tm-exa has quit [Quit: Computer has gone to sleep]
SilverKey has joined #ponylang
runehog has quit [Remote host closed the connection]
runehog has joined #ponylang
paperclipbadger has left #ponylang [#ponylang]
runehog has quit [Ping timeout: 276 seconds]
SilverKey has quit [Quit: Halted.]
Applejack_ has quit [Ping timeout: 264 seconds]
flutters1y has joined #ponylang
flutters1y has quit [Client Quit]
mrkishi has quit [Ping timeout: 250 seconds]
runehog has joined #ponylang