« first day (61 days earlier)      last day (1474 days later) » 

12:45
@AlexanderBelopolsky can an anonymous function call itself recursively in k7?
13:05
@chrispsn I think it’s nyi at the moment. Why don’t you ask on the googlegroup?
13:17
@AlexanderBelopolsky Done
It looks like

r:{[f;a;x]$[x~*a;a 1;f[0][x;r[f;a]f[1]x]]}

in the log shows how to call f recursively.

r[{..}] ..

not sure how to make it work though.
@AlexanderBelopolsky Right. I had assumed it was showing how to call a named function recursively
calling a named function recursively seems to work k7contrib.gitlab.io/docs/#func
ngn
ngn
13:46
@chrispsn there's the y combinator :)
@ngn never got my head around that one...
ngn
ngn
14:03
Y[f] makes f pass itself as its own first arg
@ngn how good are implicit args! Reading that makes it much more understandable
 
6 hours later…
20:03
wasn't there "o" in some version of k for a self call?
20:47
@ktye oK has that, and they used to have .z.f in k7
@chrispsn i use o for self call with lexical scope and ∇ for tail call: github.com/ktye/i/blob/master/e.go#L96
 
1 hour later…
21:58
@ktye why ∇? does that symbol have that meaning in general use?
 
2 hours later…
23:29
.z.s you mean ? .z.f is file argument in k7 (and k4)
turns out, .z.s is now 'seconds' in k7..
23:47
@juanez it definitely used to be .z.f in k7. See an old iteration of \h here: reddit.com/r/apljk/comments/b1l5hi/comment/…
gotcha
23:59
hmm, are the google-group messageboard posts being screened before publishing?

« first day (61 days earlier)      last day (1474 days later) »