[racket-dev] patch for make-base-eval

From: Stephen Chang (stchang at ccs.neu.edu)
Date: Wed Oct 2 15:19:24 EDT 2013

Can I push the attached (1-line) patch? I don't have a good grasp of
namespaces so I would like someone to review it first.

Right now, make-base-eval tries to attach racket/pretty to the
namespace regardless of whether it's already there, which sometimes
results in an exception (for example if the #lang given to
make-base-eval is racket).

The patch simply first checks if the desired identifier is already there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-make-base-eval-pretty.patch
Type: application/octet-stream
Size: 1096 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20131002/23661ab3/attachment.obj>

Posted on the dev mailing list.