[racket] Reliably disable/redirect console output

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Oct 17 16:05:06 EDT 2011

20 minutes ago, Neil Van Dyke wrote:
> 
> (1) Look in your code for stray top-level forms that produce values,
> such as expressions used for ad hoc testing.  Add "(begin
> ... (void))" if necessary.

That won't work at the top level, since it gets spliced.  The common
way for dealing with these is to use (void ...stuff...).

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


Posted on the users mailing list.