<
jdhorwitz>
I'm running the following code from the tutorial, but I'm running into it not allowing multiple push of values to the list.
<
jdhorwitz>
And help or insight would be appreciated
khan has joined #ponylang
tme112 has joined #ponylang
tme11 has quit [Ping timeout: 276 seconds]
khan has quit [Remote host closed the connection]
<
endformationage>
jdhorwitz: You are missing the method chaining operator. Replace l.push(10) with l.>push(10)
<
endformationage>
The error: couldn't find 'push' in 'None', is due to attempting to call push on the return value of the first push, which is `None`.
<
endformationage>
Using the method chaining operator .> will return the receiver rather than the normal return value.
endformationage has quit [Quit: WeeChat 1.9.1]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
_whitelogger has joined #ponylang
phvse has joined #ponylang
ExtraCrispy has joined #ponylang
<
jdhorwitz>
Thank you!
khan has quit [Remote host closed the connection]
PrsPrsBK has quit [Quit: PrsPrsBK]
khan has joined #ponylang
rurban has joined #ponylang
rurban has quit [Client Quit]
PrsPrsBK has joined #ponylang
aturley has quit [Quit: aturley]
acarrico has quit [Ping timeout: 244 seconds]
aturley has joined #ponylang
endformationage has joined #ponylang
visitor has joined #ponylang
visitor has left #ponylang [#ponylang]
visitor_ has joined #ponylang
visitor_ has quit [Quit: Page closed]
alxs has joined #ponylang
alxs has quit [Quit: Computer's gone to sleep. ZZZzzz…]
khan has quit [Remote host closed the connection]
phvse has quit [Ping timeout: 260 seconds]
_whitelogger has joined #ponylang
acarrico has joined #ponylang