[plt-scheme] Preventing built-in functions to be redefined

From: chaguidiao (chaguidiao at gmail.com)
Date: Thu Jun 4 10:24:46 EDT 2009


I am fairly new in Scheme.  May I know if it is possible to restrict
the redefinition of the built-in function, or if possible, make any
other user-defined functions non-writable?  Pardon me for being a
little paranoid, but the fact that (define define 5) actually making
"define" equals to 5 is just somewhat alarming to me.


Posted on the users mailing list.