Hi, all!
Using `for/fold' with more than one accumulator is inconvenient, when
there is a need for auxiliary operations with accumulators before return.
For example:
(define (partition pred lst)
(define-values (a1 a2)
(for/fold ([acc1 null]
[acc2 null])
([v (in-list ls
ccumulate
It's good enough to publish it as a package.
> If you find any bugs, just shoot me an email and I'll make sure to fix
the problems.
> -Ian
IMO, `for/acc' or `for/accum' is better than full name.
Thanks for answer!
> - Original Message -
> From
Is this a typo?
> You pick a number. The program guesses the nunber,
realm/chapter2/source.rkt
realm/chapter5/source.rkt
realm/chapter13/run.rkt
>
> A candidate release v5.3.5 is ready for testing at
>
>http://pre.racket-lang.org/5.3.5/
>
> I have downloaded, installed, and played with the
It seems like the problem is kind of described at
http://www.mail-archive.com/users@racket-lang.org/msg18395.html
I was working long time and have got DrRacket "not responding" after 'New
Tab' click.
I use pre-release 32-bit version 5.3.5.900 on Windows 7 Professional SP1
64bit. Run DrRacket with
27.09.2013 18:47, Robby Findler пишет:
I'm not quite seeing what is wrong about that. Is the issue that you have
word wrapping turned off (in the "Edit" menu) but you're still seeing
wrapping?
Robby
No. Its all OK with word wrapping (I forgot to mention that it must be
switched on either).
L
5 matches
Mail list logo