-----Original Message----- From: Dan Grossman <[email protected]> To: David Vanderson <[email protected]> CC: jkaczorek <[email protected]>; users <[email protected]> Sent: Mon, 31 Oct 2011 21:25 Subject: Re: [racket] set! racket behaviour I also found it counterintuitive that #lang racket (define x 0) (set! x 1) works, but moving the set! out of the module and into the REPL does not. But Dave has pointed to the exact line in the Guide that makes this clear: A module-level definition is mutable only if there is a set! for it in the module. Once you know that "reasonable compromise" [as I put it in my emerging lecture materials], everything works as expected. Thanks for all Your responses Jerzy
_________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

