Two definitions for a variable in the same scope never works.
In the first case, Matthew would probably say "the top level
is broken." -- Matthias
On Dec 21, 2011, at 11:16 PM, Harry Spier wrote:
> Can someone explain why this example from the Racket Guide allows a
> re-definition of a const
Can someone explain why this example from the Racket Guide allows a
re-definition of a constant but the second case (not from the Racket
Guide) gives an error. Both are executed in the interactions window of
DrRacket.
Many thanks,
Harry
> (compile-enforce-module-constants #f)
> (module m2 racket
2 matches
Mail list logo