00:23
Candle has quit [Ping timeout: 256 seconds]
01:30
acarrico has quit [Ping timeout: 268 seconds]
01:33
acarrico has joined #ponylang
01:51
acarrico has quit [Ping timeout: 256 seconds]
02:00
Candle has joined #ponylang
02:14
xek__ has joined #ponylang
02:17
xek_ has quit [Ping timeout: 264 seconds]
02:17
jbk_ is now known as jbk
02:38
nisanharamati has quit [Quit: Connection closed for inactivity]
06:18
endformationage has quit [Quit: WeeChat 1.9.1]
08:28
khan has joined #ponylang
08:35
dch is now known as dch_
11:01
_whitelogger has joined #ponylang
12:12
metaden has joined #ponylang
12:36
profetes_ has quit [Quit: Leaving]
13:18
khan has quit [Remote host closed the connection]
14:22
endformationage has joined #ponylang
14:34
jbk has quit [Remote host closed the connection]
15:34
dipin has joined #ponylang
16:25
dnmllr has joined #ponylang
16:50
dipin has quit [Quit: dipin]
16:54
dnmllr has quit [Ping timeout: 252 seconds]
18:08
metaden has quit [Ping timeout: 252 seconds]
18:44
<
SeanTAllen >
endformationage: i dont know the lambdas well, but im not sure why that compiles
18:45
<
SeanTAllen >
from the docs, i thought you had to explicitly capture values.
18:46
<
SeanTAllen >
im going to leave this to someone who knows it better. i think a tutorial/document update is certainly in order based on the outcome
19:01
nisanharamati has joined #ponylang
19:01
<
SeanTAllen >
endformationage: i think that your original compiled suggests a bug
19:01
<
SeanTAllen >
or that i really dont understand something
19:04
<
endformationage >
I guess the question as well, is whether this should work with local vars?
19:07
CcxWrk has joined #ponylang
19:08
<
endformationage >
That is probably the primary question, as the example slfritchie gave still doesn't require explicit capture, but closes over a field instead.
19:09
CcxWrk has quit [Excess Flood]
19:24
<
endformationage >
I guess closing over a local in the first example doesn't make much sense if the literal is for instance return or passed elsewhere, and use solely for local stuff.
19:30
<
endformationage >
Essentially `n` is duplicated between the two closures.
20:39
<
SeanTAllen >
thanks
23:00
nisanharamati has quit [Quit: Connection closed for inactivity]
23:11
CcxWrk has joined #ponylang