[racket] Function redefinition and "define-values: cannot re-define a constant:"

From: Noel Welsh (noelwelsh at gmail.com)
Date: Thu Aug 5 03:46:33 EDT 2010

Modules don't allow you to redefine values defined within them. You
can, however, set! a value defined within a module. As for the "Pretty
Big" and "R5RS", they don't work with modules but rather the top-level
AFAIK. In the top-level can you redefine values.

HTH,
N.

On Thu, Aug 5, 2010 at 6:33 AM, Valeriya Alex <valery at digitalchile.net> wrote:

> it will returned with message: define-values: cannot re-define a constant:
> foo
>
> It does not happen if mode is "Pretty Big" or "R5RS" (this case #lang should
> be eliminated)
>
> Why that happen?


Posted on the users mailing list.