[racket-dev] another small doc typo

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Sep 30 06:16:45 EDT 2011

7 hours ago, John Clements wrote:
> (define (main)
>   (define p
>     (place ch
>       (define l (place-channel-get ch))
>       (define l-double? (any-double? l))
>       (place-channel-put ch l-double?)))
>   (place-channel-put p (list 1 2 4 8))
>   (begin0
>    (place-channel-get p))
>    (place-wait p))
> My strong guess is that the begin0 was supposed to enclose both the
> place-channel-get and the place-wait.  Actually, I'm not really sure
> why the place-wait is there at all.

[Moral: indentation matters!  Maybe I should run my script that finds
such obvious indentation mistakes...]

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the dev mailing list.