IRC Logs for #io Friday, 2019-08-23

*** treaz has joined #io18:55
treazhi18:56
treazI'm going through the 7 lang in 7 weeks book and something made me curious: how to implement the ++ operator?18:57
treazin other words, I'd like to do: a:=3; a++; a println and get the value 418:57
treazNumber ++ := method(self + 1)18:58
treazwhat i have until now, that obviously doesn't work: OperatorTable addOperator("++",3); Number ++ := method(self + 1)18:58
treazany thoughts?18:58
*** treaz has quit IRC20:09

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!