Thanks, all! It was figuring out how to rename things on the way out that I was having trouble with. :-)
On Tue, Jan 18, 2011 at 11:06 AM, Noel Welsh <[email protected]> wrote: > On Tue, Jan 18, 2011 at 3:57 PM, Todd O'Bryan <[email protected]> wrote: >> Is it possible to redefine primitives, like +, and then provide them >> to another module? > > Yes, and it works just like any module/definition. > >> If so, can you also undefine primitives? Like if I wanted to make a >> student language where + only accepted two arguments and the list >> function was unavailable, how could I do that? > > Yes. All that needs to change is instead of > > #lang racket > > your students use > > #lang s-exp my-lang.rkt > > N. > _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

