lexi.lambda
2017-12-16 22:19:44

FWIW, I restarted my computer and the issue went away, as I expected. How strange.


slack1
2017-12-17 00:14:15

Must for/fold return as many values as it takes in?


slack1
2017-12-17 00:15:09

(can it return 1?)


lexi.lambda
2017-12-17 00:16:54

It must return as many values as starts with on each iteration because those become the new values of those accumulators for the subsequent iteration. Racket 6.12 will have a #:result option to specify the final result of the loop, which could be just one of the accumulators, but existing releases of Racket don’t have that option.


slack1
2017-12-17 00:20:23

How does one know when 6.12 is coming about?


lexi.lambda
2017-12-17 00:20:53

Racket is released quarterly, so I imagine it will be released sometime in the first 3 months of 2018.


slack1
2017-12-17 00:21:09

Nuuu I see hehe


lexi.lambda
2017-12-17 00:21:20

But if you want, you can download a snapshot build of the very latest development version of Racket. https://pre.racket-lang.org/installers/


slack1
2017-12-17 00:21:41

It’s alright, I better stick to mainstream builds


slack1
2017-12-17 00:21:45

Lest I confuse my learning setup


lexi.lambda
2017-12-17 00:22:00

I generally support that idea. :)


samth
2017-12-17 03:59:10

There’s a wiki page with the release schedule, but I think the next release is January


lexi.lambda
2017-12-17 04:41:42

@mflatt Uh oh… restarting my computer fixed the problem for a while, but it seems to have come back.